You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like custom user model is not supported by default within django-rest-auth.
I've implemented a custom user model that do not have a username. USERNAME_FIELD is set to 'email'. When I access to /rest-auth/registration URI, I see that username is a mandatory field.
Shouldn't there be a mechanism to build the serializer dynamically based on the user model set with settings.AUTH_USER_MODEL as it is performed with django-allauth?
Is there any way to workaround this issue?
Thanks
The text was updated successfully, but these errors were encountered:
It looks like custom user model is not supported by default within django-rest-auth.
I've implemented a custom user model that do not have a username. USERNAME_FIELD is set to 'email'. When I access to /rest-auth/registration URI, I see that username is a mandatory field.
Shouldn't there be a mechanism to build the serializer dynamically based on the user model set with settings.AUTH_USER_MODEL as it is performed with django-allauth?
Is there any way to workaround this issue?
Thanks
The text was updated successfully, but these errors were encountered: