views.py 文件源码

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

项目:WineHelper 作者: scorelabio 项目源码 文件源码
def pre_install(request):
    #"""This route renders the installation page with 'Add to Slack' button."""
    # Since we've set the client ID and scope on our Bot object, we can change
    # them more easily while we're developing our app.
    client_id = pyBot.oauth["client_id"]
    scope = pyBot.oauth["scope"]
    # Our template is using the Jinja templating language to dynamically pass
    # our client id and scope
    #return render_template("install.html", client_id=client_id, scope=scope)
    return render(request, 'install.html', {'client_id': client_id, 'scope':scope})
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号