Update field_mapping.py

This commit is contained in:
Adrien Brunet 2016-10-24 09:07:06 +02:00 committed by GitHub
parent 1bd35ad355
commit 23e93e3f6e

View File

@ -12,7 +12,13 @@ from rest_framework.compat import DecimalValidator
from rest_framework.validators import UniqueValidator
NUMERIC_FIELD_TYPES = (
models.IntegerField, models.FloatField, models.DecimalField
models.BigIntegerField,
models.DecimalField,
models.FloatField,
models.IntegerField,
models.PositiveInteger,
models.PositiveSmallIntegerField,
models.SmallIntegerField,
)