Postgres Database and django

23 views
Skip to first unread message

vishakha bhat

unread,
Nov 11, 2019, 1:55:34 AM11/11/19
to Django REST framework
Hello,

How to design database having one superadmin with multiple dept's, each dept has its own admin but only superadmin has the right whom to make asmin and what permissions to be assigned to that admin like view edit or add new users in a dept.

I want the schema design for the same using Postgresql as database and django rest framework as backend.

Please comment if anyone knows anything regarding this.

Juan Ramón Junior Romero Cano

unread,
Nov 11, 2019, 2:48:14 AM11/11/19
to Django REST framework
Hey there! I think you could use django-tenant-schemas to achieve that behavior, is very useful!
Reply all
Reply to author
Forward
0 new messages