We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9215f4 + 2546b17 commit f07429cCopy full SHA for f07429c
rest_auth/views.py
@@ -13,7 +13,8 @@
13
from rest_framework.permissions import IsAuthenticated, AllowAny
14
from rest_framework.generics import RetrieveUpdateAPIView
15
16
-from allauth.account import app_settings as allauth_settings
+if 'allauth' in settings.INSTALLED_APPS:
17
+ from allauth.account import app_settings as allauth_settings
18
19
from .app_settings import (
20
TokenSerializer, UserDetailsSerializer, LoginSerializer,
0 commit comments