Re: Implementing multiple user types with Django 1.7

2015-06-05 Thread Andreas Kuhne
Hi again Marcelle, It really depends on how you want to implement it. Here is one example which I think is pretty good: http://scopyleft.fr/blog/2013/django-model-advanced-user-inheritance/ This way you create a new model for each type you want (Handler, Employee and Client), and then you can

Re: Implementing multiple user types with Django 1.7

2015-06-05 Thread marcelle Kouam
thanks for your responses I read the tutos that you have sended me andreas but it just implement one user. but I want to have a structure which implements 3 types of users( handler, employee and client). can you give a clear example to do this. thank for your help Le vendredi 5 juin 2015

Re: Implementing multiple user types with Django 1.7

2015-06-05 Thread Daniel França
You can define different groups for each role and assign the users to the groups. Em sex, 5 de jun de 2015 às 11:24, Andreas Kuhne escreveu: > Hi Marcelle, > > You should not use the user profile solution anymore, because you can now > create a custom User model

Re: Implementing multiple user types with Django 1.7

2015-06-05 Thread Andreas Kuhne
Hi Marcelle, You should not use the user profile solution anymore, because you can now create a custom User model instead. Check for example: http://www.lasolution.be/blog/creating-custom-user-model-django-16-part-1.html This way you can add fields that are needed for your user solutions in your