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

This commit is contained in:
Asif Saif Uddin 2022-11-22 12:26:28 +06:00 committed by GitHub
parent d82bbe6501
commit f329d9e1a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ REST framework includes an abstraction for dealing with `ViewSets`, that allows
A `ViewSet` class is only bound to a set of method handlers at the last moment, when it is instantiated into a set of views, typically by using a `Router` class which handles the complexities of defining the URL conf for you.
## Refactoring to use view sets
## Refactoring to use ViewSets
Let's take our current set of views, and refactor them into view sets.