Hi,
class UserViewSet(viewsets.ModelViewSet):
permission_classes = [IsAuthenticated]
queryset = Documents.objects.all()
serializer_class = DocumentSerializer
this is my viewset. I want to allow users for post method without
authentication how can i add allowed methods here.with authentication and
without authentication
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/293a9666-5b87-402f-bb64-0c215483a67a%40googlegroups.com.