I need to implement two separate login/logout URLs for my Django app, for two different types of users. My client wants to differentiate the URLs for customers and for employees, even though it’s using the same user database. Mostly for branding purposes.
For employees:
/login
/logout
For customers:
/survey/login
/survey/logout
What’s the best way of doing this without reinventing the whole login/logout process?
If there’s truly no difference, just attach the auth views to the different URLs (You can have multiple URLs go to the same view).