diff --git a/docs/api-guide/validators.md b/docs/api-guide/validators.md index fd1e221bd..925f67206 100644 --- a/docs/api-guide/validators.md +++ b/docs/api-guide/validators.md @@ -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