Friday, December 16, 2011

Successful login to go back to the page login was initiated from

I have what appears to be an odd case - I have a login link on a bunch
of pages (logout if you're already logged in). What I want is to use
the built-in contrib.auth stuff to handle the login, but I want it to
take me back to the originating page once the user gets logged in
correctly. Unfortunately, I can't seem to find a single place to kick
the machine to make this happen. Is it possible with some simple
config or do I really have to implement my own forms/views?

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate