mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
BooleanField with null True
This commit is contained in:
parent
599e2b183d
commit
2e6bb8cbea
|
@ -697,7 +697,7 @@ class TestNullBooleanField(TestBooleanField):
|
|||
None: None,
|
||||
'other': True
|
||||
}
|
||||
field = serializers.NullBooleanField()
|
||||
field = serializers.BooleanField(null=True)
|
||||
|
||||
|
||||
class TestNullableBooleanField(TestNullBooleanField):
|
||||
|
|
Loading…
Reference in New Issue
Block a user