Recently, I tried to create a project in which several user levels are involved.
(Just an example of a shortened and crude scheme)
- ME (Superuser)
- Client (s)
- Customer (s)
- Survey Collections
- SurveyUser (s)
- Reviews
- Invited (invited child and survey and user)
- Questions
- Etc
Ideally, I would like to:
- www.example.com/client/ go to the client interface that you had to be a client to access
- www.example.com/customer/ go to the client interface that was supposed to be the client to access
, Django , , ( ?). "admin" , . ?
, :
http://scottbarnham.com/blog/2008/08/21/extending-the-django-user-model-with-inheritance/
, .
, , , / ACTUAL, .
"Client" , , , - , , , ..
PHP Python/Django, , .
!