mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 17:09:59 +03:00
Adjust mapping tests for NullBooleanField
This commit is contained in:
parent
cd8ab715a4
commit
893b236258
|
@ -181,7 +181,7 @@ class TestRegularFieldMappings(TestCase):
|
|||
email_field = EmailField(max_length=100)
|
||||
float_field = FloatField()
|
||||
integer_field = IntegerField()
|
||||
null_boolean_field = NullBooleanField(required=False)
|
||||
null_boolean_field = BooleanField(allow_null=True, required=False)
|
||||
positive_integer_field = IntegerField()
|
||||
positive_small_integer_field = IntegerField()
|
||||
slug_field = SlugField(allow_unicode=False, max_length=100)
|
||||
|
|
Loading…
Reference in New Issue
Block a user