def get_permission_denied_message(self):
        return self.permission_denied_message
Override this method to override the permission_denied_message attribute.
dataset/ETHPy150Open django/django/django/contrib/auth/mixins.py/AccessMixin.get_permission_denied_message