auth.mixins.AccessMixin.get_permission_denied_message()

get_permission_denied_message()

When raise_exception is True, this method can be used to control the error message passed to the error handler for display to the user. Returns the permission_denied_message attribute by default.

doc_Django
2016-10-09 18:34:12
Comments
Leave a Comment

Please login to continue.