Never mind, found the answer:

http://efreedom.com/Question/1-806835/Django-Redirect-Previous-Page-Login

My Google-fu must be off today.

On Dec 16, 6:00 pm, bazaarsoft <[email protected]> wrote:
> 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 [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