aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/viewsets.md
diff options
context:
space:
mode:
authorTom Christie2014-08-19 23:25:12 +0100
committerTom Christie2014-08-19 23:25:12 +0100
commit0c65e028b604490d498e43083fc3b46da05144fe (patch)
tree4493c401d5a20b0a680b8151741c7187cffde67c /docs/api-guide/viewsets.md
parent63d02dbea855a060ec4cdb194497188e2f40cb66 (diff)
downloaddjango-rest-framework-0c65e028b604490d498e43083fc3b46da05144fe.tar.bz2
Release notes
Diffstat (limited to 'docs/api-guide/viewsets.md')
-rw-r--r--docs/api-guide/viewsets.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/viewsets.md b/docs/api-guide/viewsets.md
index b32f5a80..9030e3ee 100644
--- a/docs/api-guide/viewsets.md
+++ b/docs/api-guide/viewsets.md
@@ -146,7 +146,7 @@ The decorators can additionally take extra arguments that will be set for the ro
def set_password(self, request, pk=None):
...
-The `@action` decorator will route `POST` requests by default, but may also accept other HTTP methods, by using the `methods` argument. For example:
+Theses decorators will route `GET` requests by default, but may also accept other HTTP methods, by using the `methods` argument. For example:
@detail_route(methods=['post', 'delete'])
def unset_password(self, request, pk=None):