Hi luisza
I've choose work overriding the save() method of the AbstractUser class,
instead of apply the post_save() signal to the create_profile_for_new_use
function.
According to the prevouos mentioned, my User MedicalProfile, PatientProfile
y PhisiotherapystProfile models stayed so:
fr
I suggest you to change the user creation form to set the three attributes
that you need (Is medical, is physuitherapist, is patient), so in the first
form (when you create the user) you will have usernarme, password,
Is_medical, is_physuitherapist, is_patient.
Take a look
-
https://docs.d
2 matches
Mail list logo