mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
Merge pull request #4224 from kneckinator/patch-1
Added missing colon in extra_kwargs documentation
This commit is contained in:
commit
151a60b64b
|
@ -216,7 +216,7 @@ For example:
|
|||
|
||||
class Meta:
|
||||
fields = ('client', 'date', 'amount')
|
||||
extra_kwargs = {'client' {'required': 'False'}}
|
||||
extra_kwargs = {'client': {'required': 'False'}}
|
||||
validators = [] # Remove a default "unique together" constraint.
|
||||
|
||||
## Updating nested serializers
|
||||
|
|
Loading…
Reference in New Issue
Block a user