django-rest-framework/rest_framework/utils
Kevin Brown 87605e1e39 Don't filter out the DecimalValidator if it is not supported
Previously, all validators set on a DecimalField in Django would be
stripped when converted to a Django REST framework field. This was
because any validator that was an instance of `DecimalValidator` would
be removed, and when `DecimalValidator` wasn't supported (so it was
`None`), all validators would be removed.

This fixes the issue by only removing the `DecimalValidator` instances
if the `DecimalValidator` is supported.
2015-12-24 14:10:48 -05:00
..
__init__.py XML cleanup 2013-02-22 19:46:47 +00:00
breadcrumbs.py Merge master 2015-07-23 15:28:29 +01:00
encoders.py Sort imports with isort 2015-06-25 16:55:51 -04:00
field_mapping.py Don't filter out the DecimalValidator if it is not supported 2015-12-24 14:10:48 -05:00
formatting.py Remove Django 1.4 compat code 2015-08-07 00:02:29 +02:00
html.py Fix nested HTML dictionaries. Closes #3314. 2015-09-03 11:23:58 +01:00
humanize_datetime.py Fleshing out serializer fields 2014-09-09 17:46:28 +01:00
mediatypes.py Cleanup import following PEP 8 style guide 2015-06-25 16:10:17 -04:00
model_meta.py Use related_objects api for Django 1.9+ 2015-11-19 13:04:37 +01:00
representation.py Fix smart_repr() to also clean upper-case hex addresses. 2015-11-26 15:48:04 +02:00
serializer_helpers.py Updated NestedBoundField to also handle empty string when rendering its form 2015-11-26 17:07:57 +02:00
urls.py Fix compat issues 2015-01-16 20:30:46 +00:00