django-rest-framework/rest_framework/utils
Carlton Gibson c674687782 Remove Django 1.8 & 1.9 compatibility code (#5481)
* Identify code that needs to be pulled out of/removed from compat.py

* Extract modern code from get_names_and_managers in compat.py and remove compat code

* Extract modern code from is_authenticated() in compat.py and remove.

* Extract modern code from is_anonymous() in compat.py and remove

* Extract modern code from get_related_model() from compat.py and remove

* Extract modern code from value_from_object() in compat.py and remove

* Update postgres compat

JSONField now always available.

* Remove DecimalValidator compat

* Remove get_remote_field compat

* Remove template_render compat

Plus isort.

* Remove set_many compat

* Remove include compat
2017-10-05 20:41:38 +02:00
..
__init__.py XML cleanup 2013-02-22 19:46:47 +00:00
breadcrumbs.py Pass initkwargs stored on view to instance 2017-04-06 16:38:28 +04:00
encoders.py JSONEncoder: Don’t strip microseconds from time 2017-09-25 10:10:44 +02:00
field_mapping.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
formatting.py Simplified chained comparisons and minor code fixes (#5276) 2017-07-16 17:12:29 +01:00
html.py Fixed various typos (#4366) 2016-08-08 09:32:22 +01:00
humanize_datetime.py Fleshing out serializer fields 2014-09-09 17:46:28 +01:00
json.py Add docstring to json wrapper module 2017-09-25 09:08:20 +02:00
mediatypes.py Add mediatype tests (#4813) 2017-01-16 18:17:51 +00:00
model_meta.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
representation.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
serializer_helpers.py Pass on invalid value (Inf, NaN) encoding in JSONBoundField 2017-09-25 09:08:20 +02:00
urls.py Don't strip empty query params when paginating (#4260) 2016-08-12 10:50:16 +01:00