i want to make a django application and for a security reasons, i have three types of users (admins, teachers , and students)
i want to make a subdomain for each type of users
users.domain.com
teachers.domain.com
admins.domain.com
after the loggin i want to switch to a specific database user for each subdomain (the same database)
I m new to django and i want some help to do this
Thanks