Implementing multiple user types with Django 1.7

2015-06-04 Thread marcelle Kouam
hello, I want to create differents types of user( manager, employee, client) in my model. but I don't know how to implemente this. I read many tutorials on the django site but I unable to implement this. thank for your help this is my models.py from django.db import models from django.contrib.

Re: Implementing multiple user types with Django 1.7

2015-06-05 Thread marcelle Kouam
You can of course also add models that are specific >> for each type of user if you want. >> >> Regards, >> >> Andréas >> >> 2015-06-04 22:56 GMT+02:00 marcelle Kouam > >: >> >>> hello, >>> I want to create differents types of

display fields of form within another form

2015-06-08 Thread marcelle Kouam
hello I have a problem. I have an application user and another employee. i want to display all the fields of user in my employee forms. now, I just redisplay my form user in my form employee like that in my template: {{ form_1.as_p }} {{ form.as_p }} this is my view employee: def add(request,