I have three models, a base called CommonUser(AbstractUser)
and two children, Professional(CommonUser)
and Client(CommonUser)
.
I'm using the django-rest-social-auth to create users from Facebook, Google, etc., and in my settings, I set AUTH_USER_MODEL = 'users.CommonUser'
, but I have two steps to create users, first using the social login, after this, I have a form to fill rest of data from a type of user.
I need now to create a Client or a Professional instance from the CommonUser created by the django-rest-social-auth, in other words, I want to "move" the CommonUser instance created by django-rest-social-auth to a Client instance or a Professional instance after submit the second step form.