aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/viewsets.md
diff options
context:
space:
mode:
authorTom Christie2014-08-18 12:25:03 +0100
committerTom Christie2014-08-18 12:25:03 +0100
commit8244c7cc33e8d8078529dd0a9a3bdc2ce3a817fc (patch)
treef491ade2e908793bbeaacf3b1fbf6190776765fb /docs/api-guide/viewsets.md
parent0e918055c7c72dc3b6aaa41430c6afa490dd662a (diff)
parentfc8eb76c2259ea64a19876f040db4d93e834d39d (diff)
downloaddjango-rest-framework-8244c7cc33e8d8078529dd0a9a3bdc2ce3a817fc.tar.bz2
Merge pull request #1711 from kdazzle/ModelViewSet-queryset-static-property
Issue #1707: Add documentation to api-docs.viewsets
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 b3085f75..aa2ceb7f 100644
--- a/docs/api-guide/viewsets.md
+++ b/docs/api-guide/viewsets.md
@@ -142,7 +142,7 @@ The `@action` decorator will route `POST` requests by default, but may also acce
@action(methods=['POST', 'DELETE'])
def unset_password(self, request, pk=None):
...
-
+
The two new actions will then be available at the urls `^users/{pk}/set_password/$` and `^users/{pk}/unset_password/$`