mardi 4 septembre 2018

Differentiate users in django

I am learning django framework. I have two group of users manager and employees. At the login page i want to differentiate these two groups. If employee has logged in then redirect it to homepage and if manager logged in redirect it to '/manage' page. how should i do this in django




Aucun commentaire:

Enregistrer un commentaire