Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Learn Django framework
·
Module 9
DRF: ViewSets and Routers
1
Grouping API Logic with ViewSets
Refactor API views into a ViewSet to group related logic for a resource.
2
Mastering ModelViewSet for CRUD Operations
Use a 'ModelViewSet' to quickly generate a full set of CRUD endpoints.
3
Automating URL Patterns with Routers
Use a 'Router' to automatically generate URL patterns for a ViewSet.
4
Custom ViewSet Actions with `@action`
Add custom actions to ViewSets using the '@action' decorator.
Previous module
DRF: API Views
Next module
DRF: Authentication and Permissions