I have the following code:
class UsersViewSet(viewsets.ModelViewSet): model = Users permission_classes = (IsAuthenticated,) def update(self, re
Yes you can by adding annotation See this link for more information there are examples:
https://docs.djangoproject.com/en/1.6/topics/auth/default/#django.contrib.auth.decorators.permission_required