*Hi all,*

*I am creating a project that will require two different user roles: An
Instructor role and a Student role. Both will use a common login form. An
Instructor can assign a Student to a Course. Both will have access to
different parts of the system.*

*I wish to know the best way to model this. Currently I'm thinking of the
following:*

*1) Use a single User model having a user_type field*

*2) Create Instructor and Student model that both inherit from base User
model.*

*3) Create an Instructor and a Student group and then assign people to the
correct group based on some value at the time of registration.*

*Is there a better way to handle this apart from the above? What are the
best practices to follow in this case? Or perhaps add a UserProfile?*

*Regards,*
*Frankline*

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEAUGdXR2n0XR6gV1fMbvHxMLAJryvo7n6gJJOE615z%3DVWwpJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to