mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-20 13:30:59 +03:00
Added missing colon in extra_kwargs documentation
This commit is contained in:
parent
3a7bfdfa70
commit
57122f0422
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user