You do not have permission to perform this action

13 views
Skip to first unread message

praveen raj

unread,
Mar 10, 2023, 10:02:58 AM3/10/23
to Django users
If I add a login required I get the error "You do not have permission to perform this action".
How do I solve this problem?
   @login_required
    def resolve_all_projects(self,info,**kwargs):
        qs = Projects.objects.all()
        print(qs.query)
        return qs

Capture.PNG
Reply all
Reply to author
Forward
0 new messages