mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
Add DecimalField to field_mapping
This commit is contained in:
parent
15f4013859
commit
c329d2f085
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user