Re: Redirecting to last view after login.

2011-02-20 Thread keynesiandreamer
Thanks so much for the reply Scott. Wish I would have seen it a bit sooner. So I double checked my TEMPLATE_CONTEXT_PROCESSORS as you suggested: TEMPLATE_CONTEXT_PROCESSORS = ( "django.core.context_processors.auth", "django.core.context_processors.debug",

Re: Redirecting to last view after login.

2011-01-05 Thread Scott Hebert (slaptijack)
I'm sorry you haven't gotten a response from anyone yet. >From everything you've provided here, it looks like you're doing this exactly right. The key seems to be that request is not being set. I think you need to verify two things: 1) That django.core.context_processors.request is in your

Re: Redirecting to last view after login.

2011-01-04 Thread keynesiandreamer
Anybody? Bueller? On Jan 2, 8:25 pm, keynesiandreamer wrote: > I have wrestled with this one for a bit and googled and looked through > documentation, so I guess its time to ask. > > I am trying make my app redirect to the last viewed page after logging > in. I am

Redirecting to last view after login.

2011-01-02 Thread keynesiandreamer
I have wrestled with this one for a bit and googled and looked through documentation, so I guess its time to ask. I am trying make my app redirect to the last viewed page after logging in. I am running django 1.2.4 and have had no luck so far. This Stack Overflow thread seemed like it would do