Reputation: 1857
Where/how does one hook up a custom provider URL patterns?
I can't find anywhere in the code that automatically installs the providers... e.g. allauth.socialaccount.providers.shopify
URLs.
My custom provider worked on older versions like 0.2x.x but now I am getting reversal errors in the provider list template because the URLs are not registered
Upvotes: 1
Views: 733
Reputation: 308769
The allauth installation instructions ask you to include allauth.urls
in your URL conf.
url(r'^accounts/', include('allauth.urls')),
Then, in allauth.urls
, the code loops through the providers and registers the provider urls. You don't have to hook up the provider url patterns manually.
Upvotes: 1