Friday, February 4, 2011

Re: Redirecting to personal pages.

How "next" parameter works?

On Feb 4, 3:04 pm, Andres Lucena <andresluc...@gmail.com> wrote:
> On Fri, Feb 4, 2011 at 10:59 AM, balu <vab...@gmail.com> wrote:
> > Hi all :)
>
> > I'm trying to create a website application using django's built in
> > authenticaiton app. I had customized the login, logout, signup...
> > template. But how to customize personal page which will be redirected
> > after login confirmation. Which will be just how we redirected to our
> > inbox after autheticated in gmail.
>
> Jeje, just talking about that in another thread ;)
>
> You should look the "next" parameter in the login form:
>
> http://docs.djangoproject.com/en/dev/topics/auth/
>
> Or if it will always be the same page, maybe what you're looking for
> is the LOGIN_REDIRECT_URL setting parameter:
>
> http://docs.djangoproject.com/en/dev/ref/settings/#std:setting-LOGIN_...

--
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.

No comments:

Post a Comment