Merge pull request #1184 from dpetzel/nullbooleanfield_fix

Fix infered field type for models.NullBooleanField
This commit is contained in:
Tom Christie 2013-12-16 05:50:10 -08:00
commit 0f37260254

View File

@ -619,6 +619,7 @@ class ModelSerializer(Serializer):
models.TextField: CharField,
models.CommaSeparatedIntegerField: CharField,
models.BooleanField: BooleanField,
models.NullBooleanField: BooleanField,
models.FileField: FileField,
models.ImageField: ImageField,
}