Support custom UserDetailsSerializer for registration

This commit is contained in:
Kiran Krishnamachari 2014-12-19 02:49:57 +08:00
parent 802de89ed7
commit 0583abac11

View File

@ -7,7 +7,7 @@ from allauth.account.views import SignupView, ConfirmEmailView
from allauth.account.utils import complete_signup from allauth.account.utils import complete_signup
from allauth.account import app_settings from allauth.account import app_settings
from rest_auth.serializers import UserDetailsSerializer from rest_auth.app_settings import UserDetailsSerializer
from rest_auth.registration.serializers import SocialLoginSerializer from rest_auth.registration.serializers import SocialLoginSerializer
from rest_auth.views import Login from rest_auth.views import Login