diff options
| author | Xavier Ordoquy | 2014-05-01 00:54:20 +0200 |
|---|---|---|
| committer | Xavier Ordoquy | 2014-05-01 00:54:20 +0200 |
| commit | 7475fceacc5bc94fde6212937685ef69ae79c751 (patch) | |
| tree | a292724a041481eba55e3f45e7a0ce6e077aed83 /rest_framework/tests/test_serializer.py | |
| parent | cd93cd195ef83a443e8fe7d745b2947d2636f4ad (diff) | |
| download | django-rest-framework-7475fceacc5bc94fde6212937685ef69ae79c751.tar.bz2 | |
Added missing field for the tests.
Diffstat (limited to 'rest_framework/tests/test_serializer.py')
| -rw-r--r-- | rest_framework/tests/test_serializer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rest_framework/tests/test_serializer.py b/rest_framework/tests/test_serializer.py index f0bb112d..31bd1082 100644 --- a/rest_framework/tests/test_serializer.py +++ b/rest_framework/tests/test_serializer.py @@ -30,6 +30,7 @@ if PIL is not None: image_field = models.ImageField(upload_to='test', max_length=1024, blank=True) slug_field = models.SlugField(max_length=1024, blank=True) url_field = models.URLField(max_length=1024, blank=True) + nullable_char_field = models.CharField(max_length=1024, blank=True, null=True) class DVOAFModel(RESTFrameworkModel): positive_integer_field = models.PositiveIntegerField(blank=True) |
