diff options
| author | Tom Christie | 2014-09-23 14:30:17 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-09-23 14:30:17 +0100 |
| commit | 0404f09a7e69f533038d47ca25caad90c0c2659f (patch) | |
| tree | eae2ceb609d868d02ba84c09d457b3ae6691f33b /tests/test_model_serializer.py | |
| parent | f22d0afc3dfc7478e084d1d6ed6b53f71641dec6 (diff) | |
| download | django-rest-framework-0404f09a7e69f533038d47ca25caad90c0c2659f.tar.bz2 | |
NullBooleanField
Diffstat (limited to 'tests/test_model_serializer.py')
| -rw-r--r-- | tests/test_model_serializer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_model_serializer.py b/tests/test_model_serializer.py index 731ed2fb..f7475024 100644 --- a/tests/test_model_serializer.py +++ b/tests/test_model_serializer.py @@ -90,7 +90,7 @@ class TestRegularFieldMappings(TestCase): email_field = EmailField(max_length=100) float_field = FloatField() integer_field = IntegerField() - null_boolean_field = BooleanField(allow_null=True) + null_boolean_field = NullBooleanField() positive_integer_field = IntegerField() positive_small_integer_field = IntegerField() slug_field = SlugField(max_length=100) |
