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