Re: Working with Django signals

2016-01-06 Thread Bernardo Garcia
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

Re: Working with Django signals

2015-12-31 Thread Luis Zárate
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

Working with Django signals

2015-12-30 Thread Bernardo Garcia
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

Working with django signals

2010-12-31 Thread mo.mughrabi
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