On 22.07.2011 17:32, dpapathanasiou wrote:
So you're saying: have the function which handles the post-login
request (i.e., defined in with LOGIN_REDIRECT_URL in settings.py and
in urls.py to some corresponding views.py function) make that type
check of user A/B, and simply redirect accordingly?

You can try redirect twice. Set fixed LOGIN_REDIRECT_URL to a view that makes further redirect based on user permissions.

Or you can try fixed hidden input next in the login templates.

--
Regards,
Alexey.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to