[Fixed]-Django Rest Framewrok api how to add Authecation permission for all

1👍

add to you view this code:

from rest_framework import permissions

class SnippetListCreateView(ListCreateAPIView):
    permission_classes = [
        permissions.IsAuthenticated
    ]
👤M.Void

Leave a comment