diff options
Diffstat (limited to 'api-guide/viewsets')
| -rw-r--r-- | api-guide/viewsets/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api-guide/viewsets/index.html b/api-guide/viewsets/index.html index d8cd2526..13debab3 100644 --- a/api-guide/viewsets/index.html +++ b/api-guide/viewsets/index.html @@ -548,7 +548,7 @@ class UserViewSet(viewsets.ModelViewSet): def set_password(self, request, pk=None): ... </code></pre> -<p>Theses decorators will route <code>GET</code> requests by default, but may also accept other HTTP methods, by using the <code>methods</code> argument. For example:</p> +<p>These decorators will route <code>GET</code> requests by default, but may also accept other HTTP methods, by using the <code>methods</code> argument. For example:</p> <pre><code> @detail_route(methods=['post', 'delete']) def unset_password(self, request, pk=None): ... |
