Separate admin interfaces for different types of users in django

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)
          • invitee (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, , .

!

+5
1

, , stackoverflow: 2 Django?

django.contrib.admin.sites.AdminSite, , , , .

+2

All Articles