Skip to content

Commit 4c231d5

Browse files
authored
Clarifying the file to edit (#9189)
1 parent 0f39e01 commit 4c231d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A `ViewSet` class is only bound to a set of method handlers at the last moment,
1010

1111
Let's take our current set of views, and refactor them into view sets.
1212

13-
First of all let's refactor our `UserList` and `UserDetail` classes into a single `UserViewSet` class. We can remove the two view classes, and replace them with a single ViewSet class:
13+
First of all let's refactor our `UserList` and `UserDetail` classes into a single `UserViewSet` class. In the `snippets/views.py` file, we can remove the two view classes and replace them with a single ViewSet class:
1414

1515
from rest_framework import viewsets
1616

0 commit comments

Comments
 (0)