I see. thanks.

On Jun 5, 1:30 pm, "Gabriel ." <gabriel....@gmail.com> wrote:
> On Fri, Jun 5, 2009 at 5:21 PM, David<ww...@yahoo.com> wrote:
>
> > Hello,
>
> > I have set up a user login page and it works. However I do not know
> > how to redirect this user to his/her account. I have
>
> > (r'^accounts/login/$', 'django.contrib.auth.views.login'),
>
> > in my urls.py. When a user types his/her username/password correctly,
> > the url transfers to
>
> >http://ip_address/accounts/profile/
>
> > Is there a homepage for users by default? Of course this user can only
> > see/update his/her account information there or do something that he/
> > she is authorized to do.
>
> > Anybody likes to give me a clue?
>
> accounts/profile is the default redirect url, but you need to create
> the corresponding url conf and view :)
>
> Or you can modify the behavior with the LOGIN_REDIRECT_URL setting.
>
> --
> Kind Regards- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to