Differentiate Users in Django
Just check the user group in you login view :)
I am learning the Django framework.
I have two groups of users: manager and employees.
At the login page, I want to differentiate between these two groups.
If the employee has logged in, then redirect it to the homepage, and if the manager logged in, redirect it to the '/manage' page.
How should I do this in Django?