class documentation

class AccessMixin:

Known subclasses: django.contrib.auth.mixins.LoginRequiredMixin, django.contrib.auth.mixins.PermissionRequiredMixin, django.contrib.auth.mixins.UserPassesTestMixin

View In Hierarchy

Abstract CBV mixin that gives access mixins the same customizable functionality.
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 get_login_url(self):
Override this method to override the login_url attribute.
def get_permission_denied_message(self):
Override this method to override the permission_denied_message attribute.
def get_redirect_field_name(self):
Override this method to override the redirect_field_name attribute.
def handle_no_permission(self):

Undocumented

login_url =

Undocumented

permission_denied_message: str =

Undocumented

raise_exception: bool =

Undocumented