Merge pull request #4224 from kneckinator/patch-1

Added missing colon in extra_kwargs documentation
This commit is contained in:
Xavier Ordoquy 2016-06-25 22:12:59 +02:00 committed by GitHub
commit 151a60b64b

View File

@ -216,7 +216,7 @@ For example:
class Meta: class Meta:
fields = ('client', 'date', 'amount') fields = ('client', 'date', 'amount')
extra_kwargs = {'client' {'required': 'False'}} extra_kwargs = {'client': {'required': 'False'}}
validators = [] # Remove a default "unique together" constraint. validators = [] # Remove a default "unique together" constraint.
## Updating nested serializers ## Updating nested serializers