mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +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.DateField: DateField,
|
||||
models.TimeField: TimeField,
|
||||
models.DecimalField: DecimalField,
|
||||
models.EmailField: EmailField,
|
||||
models.CharField: CharField,
|
||||
models.URLField: URLField,
|
||||
|
|
Loading…
Reference in New Issue
Block a user