Reputation: 195
There is anyway to create two user tables that can be authenticated in django one table will be used to register normal users and other admins but that can not be related with django.contrib.auth thanks
Upvotes: 1
Views: 760
Reputation: 1977
It's not rational to treat different between users and admins by putting them in two separated tables. You can give different permissions to different users and treat them due to which resources they must access. for more information check django permissions documentation.
Upvotes: 2