(view)
return wrapper
Marks processors only needed when using on Django builtin auth views.
Marks processors only needed when using on Django builtin auth views.
Marks processors only needed when using on Django builtin auth views .
def builtin_only(view):
    """
    Marks processors only needed when using on Django builtin auth views.
    """
    @wraps(view)
    def wrapper(request):
        if request.path == "/login" or request.path.startswith("/password"):
            return view(request)
        else:
            return {}
    return wrapper
def builtin_only ( view ) : @ wraps ( view ) def wrapper ( request ) : if request . path == "/login" or request . path . startswith ( "/password" ) : return view ( request ) else : return { } return wrapper