def permission_required_raise(perm, login_url=None, raise_exception=True):
    """
    A permission_required decorator that raises by default.
    """
    return permission_required(perm, login_url=login_url, raise_exception=raise_exception)