Sunday, October 30, 2016

Re: how to create 2 different kind of user profiles using django python

You can start by designing your warden and student models in which each of them inherit the django inbuilt user model class.
Each model would then have attribute that is peculiar to it alone.

On Oct 30, 2016 2:53 PM, "YOGITHA A N" <yogitha1997@gmail.com> wrote:
Hey,

I am new to django . Please let me know how to create 2 various kind of user profiles in django. I am doing a hostel management system using django where in I have 2 kinds of users one is a student and the other is the warden. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/22ce8644-2a9d-430c-a565-39ab94664d88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMGzuy8%2BEMTJBo76UZjQwNdbDJ%3DN4aA07SBCUEcRva9L66L3Cg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment