mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Update field_mapping.py
This commit is contained in:
parent
1bd35ad355
commit
23e93e3f6e
|
@ -12,7 +12,13 @@ from rest_framework.compat import DecimalValidator
|
||||||
from rest_framework.validators import UniqueValidator
|
from rest_framework.validators import UniqueValidator
|
||||||
|
|
||||||
NUMERIC_FIELD_TYPES = (
|
NUMERIC_FIELD_TYPES = (
|
||||||
models.IntegerField, models.FloatField, models.DecimalField
|
models.BigIntegerField,
|
||||||
|
models.DecimalField,
|
||||||
|
models.FloatField,
|
||||||
|
models.IntegerField,
|
||||||
|
models.PositiveInteger,
|
||||||
|
models.PositiveSmallIntegerField,
|
||||||
|
models.SmallIntegerField,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user