You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We essentially repeat the queryset and serializer_class for each view, even
though the generic view extended is different. Take a look at how viewsets
and routers address this issue and allow us to create the same API views
and URLs with much less code.
ref: backend/todos/views.py
The text was updated successfully, but these errors were encountered:
We essentially repeat the queryset and serializer_class for each view, even
though the generic view extended is different. Take a look at how viewsets
and routers address this issue and allow us to create the same API views
and URLs with much less code.
ref:
backend/todos/views.py
The text was updated successfully, but these errors were encountered: