如何修复Django All-Auth SocialApp匹配查询错误?

时间:2018-02-09 00:47:01

标签: python django django-authentication django-allauth

我正在使用Django All-auth login template。我的应用程序运行,但当我点击GitHub链接时,我收到这些错误。该模板具有: {%get_providers as socialaccount_providers%}所以GitHub登录应该有效,对吗?

以下这些错误意味着什么?

DoesNotExist at /accounts/github/login/
SocialApp matching query does not exist.
Request Method: GET
Request URL:    http://127.0.0.1:8000/accounts/github/login/?process=login&next=%2F
Django Version: 1.11.10
Exception Type: DoesNotExist
 DoesNotExist: SocialApp matching query does not exist.
[09/Feb/2018 00:37:59] "GET /accounts/github/login/?process=login&next=%2Fhome HTTP/1.1" 500 87171

0 个答案:

没有答案