This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
so in project/accounts/models.py I have a Member model which has a 1-to-1 relationship to Django's default User model. In issue #58, the following is advised by @mateusz-sikora:
So you need to customize signup form in django-allauth.
However, it doesn't seem like the auth/registration endpoint is calling my custom signup form. I'm completely aware of the new signup-form practice in all-auth and have tried both syntaxes.
So to summarize, it doesn't seem like rest_ath.registration.urls calls all-auth's SignupForm. If so, how can one create a Member object when a User object is created through rest-auth's registration endpoint?
so in
project/accounts/models.py
I have aMember
model which has a 1-to-1 relationship to Django's defaultUser
model. In issue #58, the following is advised by @mateusz-sikora:I have the following in my
urls.py
to allow registration inrest-auth
, according to the docs:However, it doesn't seem like the
auth/registration
endpoint is calling my custom signup form. I'm completely aware of the new signup-form practice inall-auth
and have tried both syntaxes.So to summarize, it doesn't seem like
rest_ath.registration.urls
callsall-auth
'sSignupForm
. If so, how can one create aMember
object when aUser
object is created throughrest-auth
's registration endpoint?