auth.mixins.PermissionRequiredMixin.has_permission()

has_permission()

Returns a boolean denoting whether the current user has permission to execute the decorated view. By default, this returns the result of calling has_perms() with the list of permissions returned by get_permission_required().

doc_Django
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.