How can I have different users for different sites with django.
My application should look like this:
a.mydomain.com
b.otherdomain.com
Users should be bound to the domain, so that a.mydomain.com and b.otherdomain.com have different users.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the auth setup, you could create separate custom permissions, one per domain, and check if the current user has the permission for the current domain — see the “custom permissions” section in the auth doc in question.