aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRahul2014-12-19 21:22:10 +0530
committerRahul2014-12-19 21:22:10 +0530
commit8f0fef4b75f5c999c13b5d37a263da3a3388142e (patch)
tree118165e98616469e90ea0caf091a591a21e35331 /docs
parentb4a3e7f64096ea7106ff0d622bdf1c6e2e4e2895 (diff)
downloaddjango-rest-framework-8f0fef4b75f5c999c13b5d37a263da3a3388142e.tar.bz2
Updated documentation on url_path per suggestions.
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial/6-viewsets-and-routers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/6-viewsets-and-routers.md b/docs/tutorial/6-viewsets-and-routers.md
index 8e4e22f0..d2ee1102 100644
--- a/docs/tutorial/6-viewsets-and-routers.md
+++ b/docs/tutorial/6-viewsets-and-routers.md
@@ -53,7 +53,7 @@ Notice that we've also used the `@detail_route` decorator to create a custom act
Custom actions which use the `@detail_route` decorator will respond to `GET` requests. We can use the `methods` argument if we wanted an action that responded to `POST` requests.
-The URLs for custom actions by default depends on the method name itself. If you want to change the way url should be constructed, you can use `url_path` parameter of `@detail_route` and provide the string value for the same.
+The URLs for custom actions by default depend on the method name itself. If you want to change the way url should be constructed, you can include url_path as a decorator keyword argument.
## Binding ViewSets to URLs explicitly