required extra argument should be a boolean, not a string. (fixes #5906)

This commit is contained in:
Xavier Ordoquy 2018-03-28 12:38:04 +02:00
parent a95cffc73e
commit 489d3415ab

View File

@ -222,7 +222,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