fix allauth imports

This commit is contained in:
Jens Langhammer 2019-02-25 17:20:53 +01:00
parent 8611ac624c
commit 19bd3bfffb
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
"""passbook provider""" """passbook provider"""
from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from allauth_passbook.provider import PassbookProvider from allauth_passbook.provider import PassbookProvider
urlpatterns = default_urlpatterns(PassbookProvider) urlpatterns = default_urlpatterns(PassbookProvider)

View File

@ -1,10 +1,10 @@
"""passbook adapter""" """passbook adapter"""
import requests import requests
from allauth.socialaccount import app_settings from allauth.socialaccount import app_settings
from allauth.socialaccount.providers.oauth2.views import (OAuth2Adapter, from allauth.socialaccount.providers.oauth2.views import (OAuth2Adapter,
OAuth2CallbackView, OAuth2CallbackView,
OAuth2LoginView) OAuth2LoginView)
from allauth_passbook.provider import PassbookProvider from allauth_passbook.provider import PassbookProvider