diff --git a/rest_auth/registration/views.py b/rest_auth/registration/views.py
index <HASH>..<HASH> 100644
--- a/rest_auth/registration/views.py
+++ b/rest_auth/registration/views.py
@@ -7,7 +7,7 @@ from allauth.account.views import SignupView, ConfirmEmailView
 from allauth.account.utils import complete_signup
 from allauth.account import app_settings
 
-from ..serializers import UserDetailsSerializer
+from rest_auth.app_settings import UserDetailsSerializer
 from rest_auth.registration.serializers import SocialLoginSerializer
 from rest_auth.views import Login
Support custom UserDetailsSerializer for registration