Add DecimalField to field_mapping

This commit is contained in:
Stephan Groß 2013-04-15 13:11:41 +02:00
parent 15f4013859
commit c329d2f085

View File

@ -548,6 +548,7 @@ class ModelSerializer(Serializer):
models.DateTimeField: DateTimeField, models.DateTimeField: DateTimeField,
models.DateField: DateField, models.DateField: DateField,
models.TimeField: TimeField, models.TimeField: TimeField,
models.DecimalField: DecimalField,
models.EmailField: EmailField, models.EmailField: EmailField,
models.CharField: CharField, models.CharField: CharField,
models.URLField: URLField, models.URLField: URLField,