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 4e9d661 commit a9ecf9bCopy full SHA for a9ecf9b
books/api/views.py
@@ -1,10 +1,4 @@
1
-from rest_framework.permissions import (AllowAny,
2
- IsAuthenticated,
3
- IsAdminUser,
4
- IsAuthenticatedOrReadOnly,
5
- DjangoModelPermissions,
6
- DjangoModelPermissionsOrAnonReadOnly,
7
- DjangoObjectPermissions)
+from rest_framework.permissions import DjangoModelPermissions, DjangoObjectPermissions
8
from rest_framework.generics import (CreateAPIView,
9
ListAPIView,
10
RetrieveAPIView,
0 commit comments