We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eac47b commit c403233Copy full SHA for c403233
docs/index.md
@@ -290,7 +290,7 @@ class ArtistViewSet(viewsets.ModelViewSet):
290
serializer_class = ArtistSerializer
291
```
292
293
-1. Here we create a ViewSet class that will be responsible to create our CRUD(+ list) views. It inherits from `ModelViewSet`.
+1. Here we create a ViewSet class that will be responsible for creating our CRUD(+ list) views. It inherits from `ModelViewSet`.
294
2. `queryset` parameter tells DRF what do list, this will be shared across all the views
295
3. `serializer_class` is self-explanatory
296
0 commit comments