You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, removing the "permission_classes = (IsAuthenticated,)" section from LogoutView can generate unexpected bugs, perhaps it would be better to leave a warning in the documentation or return the code. In my case I was getting the error "Cannot apply DjangoModelPermissions on a view that does not set .queryset or have a .get_queryset() method." because of my DEFAULT_PERMISSION_CLASSES
The text was updated successfully, but these errors were encountered:
Hello, removing the "permission_classes = (IsAuthenticated,)" section from LogoutView can generate unexpected bugs, perhaps it would be better to leave a warning in the documentation or return the code. In my case I was getting the error "Cannot apply DjangoModelPermissions on a view that does not set
.queryset
or have a.get_queryset()
method." because of my DEFAULT_PERMISSION_CLASSESThe text was updated successfully, but these errors were encountered: