Update docs/tutorial/6-viewsets-and-routers.md

This commit is contained in:
Asif Saif Uddin 2022-11-22 14:34:36 +06:00 committed by GitHub
parent 63510957a6
commit 795f67f235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ The URLs for custom actions by default depend on the method name itself. If you
## Binding view sets to URLs explicitly ## Binding view sets to URLs explicitly
The handler methods only get bound to the actions when we define the URLConf. 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 view sets. To see what's going on under the hood let's first explicitly create a set of views from our ViewSets.
In the `snippets/urls.py` file we bind our `ViewSet` classes into a set of concrete views. In the `snippets/urls.py` file we bind our `ViewSet` classes into a set of concrete views.