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,
I love this package, it's awesome thank you.
Is there a way to use the permission_required decorator on a ListView (or any CBV with a get_queryset method) on a Model level and thus checking the has_perm only once.
Right now I'm using the django.contrib.auth.mixins.PermissionRequiredMixin, but I love the permission_required decorator.
Hello,
I love this package, it's awesome thank you.
Is there a way to use the
permission_requireddecorator on a ListView (or any CBV with a get_queryset method) on a Model level and thus checking the has_perm only once.Right now I'm using the
django.contrib.auth.mixins.PermissionRequiredMixin, but I love thepermission_requireddecorator.Basically I would love to do something like
Instead of doing :