Allauth 自定义提供商 URL
Allauth Custom Provider URLs
Where/how 是否连接自定义提供程序 URL 模式?
我在自动安装提供程序的代码中找不到任何地方...例如allauth.socialaccount.providers.shopify
URLs.
我的自定义提供程序在 0.2x.x 等旧版本上工作,但现在我在提供程序列表模板中收到反转错误,因为 URLs 未注册
allauth installation instructions 要求您将 allauth.urls
包含在您的 URL 会议中。
url(r'^accounts/', include('allauth.urls')),
然后,在 allauth.urls
中,代码循环遍历提供程序并注册提供程序 url。您不必手动连接提供商 url 模式。
Where/how 是否连接自定义提供程序 URL 模式?
我在自动安装提供程序的代码中找不到任何地方...例如allauth.socialaccount.providers.shopify
URLs.
我的自定义提供程序在 0.2x.x 等旧版本上工作,但现在我在提供程序列表模板中收到反转错误,因为 URLs 未注册
allauth installation instructions 要求您将 allauth.urls
包含在您的 URL 会议中。
url(r'^accounts/', include('allauth.urls')),
然后,在 allauth.urls
中,代码循环遍历提供程序并注册提供程序 url。您不必手动连接提供商 url 模式。