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.
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
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,
3 matches
Mail list logo