views.py 文件源码

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

项目:tickerbot 作者: shaileshahuja 项目源码 文件源码
def get_slack_oauth_uri(request):
    # scope = "bot+channels:write"
    scope = "bot"
    return "https://slack.com/oauth/authorize?scope=" + scope + "&client_id=" + settings.SLACK_CLIENT_ID + \
           "&redirect_uri=" + request.build_absolute_uri(reverse("oauth"))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号