django-rest-framework/rest_framework
Ryan P Kilby 73203e6b59 Rework dynamic list/detail actions (#5705)
* Merge list/detail route decorators into 'action'

* Merge dynamic routes, add 'detail' attribute

* Add 'ViewSet.get_extra_actions()'

* Refactor dynamic route checking & collection

* Refactor dynamic route generation

* Add 'ViewSet.detail' initkwarg

* Fixup schema test

* Add release notes for dynamic action changes

* Replace list/detail route decorators in tests

* Convert tabs to spaces in router docs

* Update docs

* Make 'detail' a required argument of 'action'

* Improve router docs
2018-01-25 09:40:49 +01:00
..
authtoken Remove references to unsupported Django versions in docs and code (#5602) 2017-11-20 09:35:54 +01:00
locale Version 3.7.4 Release (#5650) 2017-12-20 15:28:31 +01:00
schemas Remove unreachable code from ManualSchema (#5766) 2018-01-24 08:52:33 +01:00
static/rest_framework Clean up all whitespace throughout project (#5578) 2017-11-09 20:57:53 +01:00
templates/rest_framework Allowed customising API documentation code samples (#5752) 2018-01-25 09:39:03 +01:00
templatetags Prefer https protocol for links in docs when available 2018-01-15 15:15:21 +01:00
utils Prefer https protocol for links in docs when available 2018-01-15 15:15:21 +01:00
__init__.py Add 3.7.7 release notes 2017-12-21 12:45:54 +01:00
apps.py Make DEFAULT_PAGINATION_CLASS None by default. (#5170) 2017-09-25 15:36:30 +02:00
authentication.py Call Django's authenticate function with the request object (#5295) 2017-10-05 10:43:49 +01:00
checks.py Clarify pagination system check (#5524) 2017-10-23 12:31:59 +02:00
compat.py Prefer https protocol for links in docs when available 2018-01-15 15:15:21 +01:00
decorators.py Rework dynamic list/detail actions (#5705) 2018-01-25 09:40:49 +01:00
documentation.py Allowed customising API documentation code samples (#5752) 2018-01-25 09:39:03 +01:00
exceptions.py Fix missing six.text_type() call on APIException.__str__ (#5476) 2017-10-04 09:00:21 +02:00
fields.py Add HStoreField, postgres fields tests (#5654) 2018-01-15 15:52:30 +01:00
filters.py Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00:00
generics.py Add ValidationError to except in get_object_or_404 for django 1.11 2017-05-05 21:17:12 -04:00
metadata.py Don't list M2M choices in OPTIONS requests. Refs #3751. (#4160) 2016-06-01 17:28:32 +01:00
mixins.py Ensure Location header is strictly a 'str', not subclass. Closes #5541 (#5544) 2017-10-30 13:08:52 +00:00
models.py Move models.resolve_model to serializers._resolve_model 2014-01-13 11:47:44 -05:00
negotiation.py Fixed various typos (#4366) 2016-08-08 09:32:22 +01:00
pagination.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
parsers.py Prefer https protocol for links in docs when available 2018-01-15 15:15:21 +01:00
permissions.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
relations.py Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00:00
renderers.py Allowed customising API documentation code samples (#5752) 2018-01-25 09:39:03 +01:00
request.py Fix AttributeError hiding on request authenticators (#5600) 2017-11-23 08:58:04 +01:00
response.py Drop unnecessary TODO notes. 2017-09-14 09:44:59 +01:00
reverse.py Compat cleanup (#5581) 2017-11-10 09:41:03 +01:00
routers.py Rework dynamic list/detail actions (#5705) 2018-01-25 09:40:49 +01:00
serializers.py Add HStoreField, postgres fields tests (#5654) 2018-01-15 15:52:30 +01:00
settings.py using rsplit to get module and classname for imports (#5712) 2018-01-02 10:59:08 +01:00
status.py Prefer https protocol for links in docs when available 2018-01-15 15:15:21 +01:00
test.py Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00:00
throttling.py Fix typo in docstring (#5678) 2017-12-19 08:45:33 +01:00
urlpatterns.py Fix format_suffix_patterns behavior with Django 2 path() routes (#5691) 2017-12-20 13:17:54 +01:00
urls.py Remove references to unsupported Django versions in docs and code (#5602) 2017-11-20 09:35:54 +01:00
validators.py Fix whitespace in imports 2017-11-25 21:10:30 -05:00
versioning.py Remove extra parentheses (#4789) 2017-01-08 16:09:23 +00:00
views.py Add DEFAULT_SCHEMA_CLASS setting (#5658) 2017-12-14 11:24:21 +01:00
viewsets.py Rework dynamic list/detail actions (#5705) 2018-01-25 09:40:49 +01:00