The *LOGIN_REDIRECT_URL* only allowing to redirect to a particular profile page. But in scenarios like where there are *students* and *teachers*, both of them need their specific profile page after login.
Using* LOGIN_REDIRECT_URL*, both the teachers and the students are getting redirected to the same profile ( in my case, both of them either entirely to teachers profile or entirely to students profile). How can I set *two login redirects instead of one*? I searched in the documentation, online videos, and everything but couldn't find such. Please help me with resources/codes/guide/etc from where I can learn from and implement. I'm pretty new to this and have tried whatever I know till now. Thank You. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e185b4ba-2219-4a1b-bba2-8ef4e4466682o%40googlegroups.com.

