context_processors.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:paneity 作者: reed-college 项目源码 文件源码
def login_logout(request):
    """
    Adds LOGIN_URL and LOGOUT_URL from the settings to the context
    """
    return {"LOGIN_URL": settings.LOGIN_URL, "LOGOUT_URL": settings.LOGOUT_URL}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号