Guest User

Untitled

a guest
Sep 21st, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. Authentication credentials were not provided
  2.  
  3. class HamListApiView(ListAPIView):
  4. queryset = Ham.objects.all()
  5. serializer_class = HamSerializer
  6. permission_classes = [permissions.IsAdminUser]
Add Comment
Please, Sign In to add comment