mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-23 22:49:50 +03:00
Update docs/tutorial/6-viewsets-and-routers.md
This commit is contained in:
parent
795f67f235
commit
0d8d8ea681
|
@ -59,7 +59,7 @@ Custom actions which use the `@action` decorator will respond to `GET` requests
|
|||
|
||||
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 view sets to URLs explicitly
|
||||
## Binding ViewSets to URLs explicitly
|
||||
|
||||
The handler methods only get bound to the actions when we define the URLConf.
|
||||
To see what's going on under the hood let's first explicitly create a set of views from our ViewSets.
|
||||
|
|
Loading…
Reference in New Issue
Block a user