(self, request, message=None)
If request is not permitted, determine what kind of exception to raise.
If request is not permitted, determine what kind of exception to raise.
If request is not permitted determine what kind of exception to raise .
def permission_denied(self, request, message=None):
        """
        If request is not permitted, determine what kind of exception to raise.
        """
        raise PermissionDenied(message)
def permission_denied ( self , request , message = None ) : raise PermissionDenied ( message )