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
I have a custom users schema in Django for work with roles or users type,
creating an application named userprofile which will be or will setup my
custom user model.
In my settings.py I have the following configuration:
INSTALLED_APPS = [
...
'userprofile',]#Custom model Users
AUT
Hi,
Am new to this group, I hope to learn more from reading exchange
emails. As for now, wish everyone a happy new year :)
I posted a question earlier on stackoveeflow and am wondering if
anyone here might be able to point me to the right direction,
http://stackoverflow.com/questions/4569844/dj
4 matches
Mail list logo