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
[image: Capture.PNG]
--
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/97f7b4c6-56f4-4071-9c6c-67e42db3cd62n%40googlegroups.com.