Skip to content

Commit

Permalink
Fix typo in docs/index.md
Browse files Browse the repository at this point in the history
Corrected "nos" to "not" in the AlbumViewSet description to enhance readability and accuracy in the documentation. The change clarifies that AlbumViewSet is not a model view set.
  • Loading branch information
lipemorais committed Sep 14, 2024
1 parent 7196b87 commit 090bc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ class AlbumViewSet(viewsets.ViewSet):
serializer_class = AlbumSerializer
```

1. Here we create a class `AlbumViewSet` inheriting from `views.ViewSet`, pay attention, this is nos a model view set.
1. Here we create a class `AlbumViewSet` inheriting from `views.ViewSet`, pay attention, this is not a model view set.
2. Set the `queryset`
3. Set `serializer_class`, we are going to talk about this `AlbumSerializer` later

Expand Down

0 comments on commit 090bc9e

Please sign in to comment.