You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-guide/viewsets.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,7 @@ The decorator allows you to override any viewset-level configuration such as `pe
185
185
def set_password(self, request, pk=None):
186
186
...
187
187
188
-
The two new actions will then be available at the urls `^users/{pk}/set_password/$` and `^users/{pk}/unset_password/$`. Use the `url_path` and `url_name` parameters to change the URL segement and the reverse URL name of the action.
188
+
The two new actions will then be available at the urls `^users/{pk}/set_password/$` and `^users/{pk}/unset_password/$`. Use the `url_path` and `url_name` parameters to change the URL segment and the reverse URL name of the action.
189
189
190
190
To view all extra actions, call the `.get_extra_actions()` method.
0 commit comments