django-rest-framework/rest_framework/utils
Adrien Brunet e3bd4b9048 Fix #1811: take limit_choices_to into account with FK (#6371)
* Fix issue1811: take limit_choices_to into account with FK

* Issue 1811: Add tests to illustrate issue

* Filter queryset only if limit_choices_to exists

* Move test_relations_with_limited_querysets file within test_relations_pk

* move limit_choices_to logic from relations.py to utils/field_mapping.py

* move limit_choices_to above other check to avoid conflicts
2019-01-08 13:49:47 +00:00
..
__init__.py XML cleanup 2013-02-22 19:46:47 +00:00
breadcrumbs.py Improvements to ViewSet extra actions (#5605) 2018-07-06 10:33:10 +02:00
encoders.py Remove unnecessary use of compat shim six.binary_type (#6189) 2018-09-17 10:39:59 +02:00
field_mapping.py Fix #1811: take limit_choices_to into account with FK (#6371) 2019-01-08 13:49:47 +00:00
formatting.py Simplified chained comparisons and minor code fixes (#5276) 2017-07-16 17:12:29 +01:00
html.py Ensure that html forms (multipart form data) respect optional fields (#5927) 2018-04-20 15:11:52 +02:00
humanize_datetime.py Change ISO 8601 date format to exclude year/month (#5936) 2018-04-14 05:23:31 +01:00
json.py Add docstring to json wrapper module 2017-09-25 09:08:20 +02:00
mediatypes.py Prefer https protocol for links in docs when available 2018-01-15 15:15:21 +01:00
model_meta.py Remove references to unsupported Django versions in docs and code (#5602) 2017-11-20 09:35:54 +01:00
representation.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
serializer_helpers.py Stop JSONBoundField mangling invalid JSON (#5526) (#5527) 2017-10-25 10:54:38 +02:00
urls.py fix processing unicode symbols in query_string by Python 2 (#5552) 2017-11-06 11:46:37 +01:00