Skip to content

Commit a849627

Browse files
committed
Fixes #7538 - use retrieve action name instead of detail
1 parent 91916a4 commit a849627

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
@@ -16,7 +16,7 @@ First of all let's refactor our `UserList` and `UserDetail` views into a single
1616

1717
class UserViewSet(viewsets.ReadOnlyModelViewSet):
1818
"""
19-
This viewset automatically provides `list` and `detail` actions.
19+
This viewset automatically provides `list` and `retrieve` actions.
2020
"""
2121
queryset = User.objects.all()
2222
serializer_class = UserSerializer

0 commit comments

Comments
 (0)