class documentation

class PermissionRequiredMixin(AccessMixin): (source)

View In Hierarchy

Verify that the current user has all specified permissions.

Method dispatch Undocumented
Method get_permission_required Override this method to override the permission_required attribute. Must return an iterable.
Method has_permission Override this method to customize the way permissions are checked.
Class Variable permission_required Undocumented

Inherited from AccessMixin:

Method get_login_url Override this method to override the login_url attribute.
Method get_permission_denied_message Override this method to override the permission_denied_message attribute.
Method get_redirect_field_name Override this method to override the redirect_field_name attribute.
Method handle_no_permission Undocumented
Class Variable login_url Undocumented
Class Variable permission_denied_message Undocumented
Class Variable raise_exception Undocumented
def dispatch(self, request, *args, **kwargs): (source)

Undocumented

def get_permission_required(self): (source)

Override this method to override the permission_required attribute. Must return an iterable.

def has_permission(self): (source)

Override this method to customize the way permissions are checked.

permission_required = (source)

Undocumented