mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Fixes inconsistent headers in serializer docs (#8056)
				
					
				
			Some headers were using `.`, some - were not. Now, all of them are the same with `.`, because it was easier to fix.
This commit is contained in:
		
							parent
							
								
									c8a9c856c2
								
							
						
					
					
						commit
						d2977cff98
					
				| 
						 | 
				
			
			@ -605,13 +605,13 @@ For `ModelSerializer` this defaults to `PrimaryKeyRelatedField`.
 | 
			
		|||
 | 
			
		||||
For `HyperlinkedModelSerializer` this defaults to `serializers.HyperlinkedRelatedField`.
 | 
			
		||||
 | 
			
		||||
### `serializer_url_field`
 | 
			
		||||
### `.serializer_url_field`
 | 
			
		||||
 | 
			
		||||
The serializer field class that should be used for any `url` field on the serializer.
 | 
			
		||||
 | 
			
		||||
Defaults to `serializers.HyperlinkedIdentityField`
 | 
			
		||||
 | 
			
		||||
### `serializer_choice_field`
 | 
			
		||||
### `.serializer_choice_field`
 | 
			
		||||
 | 
			
		||||
The serializer field class that should be used for any choice fields on the serializer.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user