aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/routers.md
AgeCommit message (Collapse)Author
2015-02-03Small documentation fixesJames Cooke
* Remove "you you" from viewsets API-guide * Fix link from routers API-guide to viewsets API-guide
2015-01-29Removed deprecated '.model' docsTymur Maryokhin
2015-01-28Fix #2476Xavier Ordoquy
2015-01-20correcting unclosed quote in routers.mdsoooooot
correcting unclosed quote in routers.md
2014-12-28Add notes on include and namespacing. Closes #2335.Tom Christie
2014-12-19Merge pull request #2010 from tanwanirahul/masterTom Christie
Ability to customize method names without creating a custom router
2014-12-19Updates url_path info per suggestionRahul
2014-12-19Added documentation about url_path parameter for custom actions.Rahul
2014-12-12documentation typoJeff Fein-Worton
base-name -> base_name
2014-11-25Use MkDocs meta.source to render source code linksJosé Padilla
2014-08-20Deprecate .model in related routers/permissionsTom Christie
2014-07-26Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: rest_framework/fields.py
2014-06-26Fixes #1651. Add link to drf-extensions nested routers to docsChibisov Gennady
2014-04-13Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: .travis.yml docs/api-guide/fields.md docs/api-guide/routers.md docs/topics/release-notes.md rest_framework/authentication.py rest_framework/serializers.py rest_framework/templatetags/rest_framework.py rest_framework/tests/test_authentication.py rest_framework/tests/test_filters.py rest_framework/tests/test_hyperlinkedserializers.py rest_framework/tests/test_serializer.py rest_framework/tests/test_testing.py rest_framework/utils/encoders.py tox.ini
2014-01-04Fix a typoPaul Melnikow
2014-01-04Router: Do not automatically adjust lookup_regex when trailing_slash is TruePaul Melnikow
BREAKING CHANGE When trailing_slash is set to True, the router no longer will adjust the lookup regex to allow it to include periods. To simulate the old behavior, the programmer should specify `lookup_regex = '[^/]+'` on the viewset. https://github.com/tomchristie/django-rest-framework/pull/1328#issuecomment-31517099
2014-01-04Allow viewset to specify lookup value regex for routingPaul Melnikow
This patch allows a viewset to define a pattern for its lookup field, which the router will honor. Without this patch, any characters are allowed in the lookup field, and overriding this behavior requires subclassing router and copying and pasting the implementation of get_lookup_regex. It's possible it would be better to remove this functionality from the routers and simply expose a parameter to get_lookup_regex which allows overriding the lookup_regex. That way the viewset config logic could be in the a subclass, which could invoke the super method directly. I'm using this now for PostgreSQL UUID fields using https://github.com/dcramer/django-uuidfield . Without this patch, that field passes the lookup string to the database driver, which raises a DataError to complain about the invalid UUID. It's possible the field ought to signal this error in a different way, which could obviate the need to specify a pattern.
2013-12-23Fuller notes on the 'base_name' argument. Closes #1160.Tom Christie
2013-12-23Merge branch 'bennbollay-patch-1' into 2.4.0Tom Christie
Conflicts: .travis.yml docs/api-guide/routers.md rest_framework/compat.py tox.ini
2013-12-13Links to drf-nested-routersTom Christie
2013-12-13Merge branch 'master' into 2.4.0Tom Christie
Conflicts: .travis.yml docs/api-guide/routers.md docs/topics/release-notes.md rest_framework/compat.py
2013-12-13Merge branch 'master' of https://github.com/tomchristie/django-rest-frameworkTom Christie
Conflicts: docs/api-guide/routers.md
2013-12-12third-party package: wq.dbS. Andrew Sheppard
2013-12-12Add third party packagesTom Christie
2013-12-10Update routers.mdDavid Ray
Reference to ```DefaultRouter``` should be ```SimpleRouter```
2013-10-03Fixed code example.Omer Katz
2013-08-29Better docs for customizing dynamic routes. Refs #908Tom Christie
2013-08-21Merge masterTom Christie
2013-08-21Include import paths throughout docs.Tom Christie
Closes #1051. Thanks to @pydanny for the report.
2013-08-19Docs tweakingTom Christie
2013-08-19MergeTom Christie
2013-08-07Fixed typos in a bunch of docsVeronica Lynn
2013-08-03Fixing typos in routers.mdJames Summerfield
2013-07-15Combined link_* and action_* decorators into detail_route and list_route, ↵Alex Burgel
marked the originals as deprecated.
2013-07-02Minor tidyingTom Christie
2013-07-02#955 updated router docs with more information on the `Route` named tuple ↵Rudolf Olah
and its parameters.
2013-06-27#955 updated documentation for overriding `routes` attribute in Router ↵Rudolf Olah
sub-classes
2013-06-21Update router docs on base_name. Refs #933.Tom Christie
2013-06-04Added trailing_slash argument to routers. Closes #905Tom Christie
2013-05-28Fix md formatting and typosStephan Groß
2013-05-28Fixed typosPascal Borreli
2013-05-02Simplifying bits of docsTom Christie
2013-04-29Remove AutoRouter. (Adding shortcut to generic views/viewsets means it's ↵Tom Christie
unneccessary)
2013-04-26Deal with List/Instance suffixes for viewsetsTom Christie
2013-04-25Docs, docs, docsTom Christie
2013-04-25More viewset/router docsTom Christie
2013-04-24Various clean up and lots of docsTom Christie
2013-04-09Viewsets and routers in seperate docsTom Christie