On Thu, Feb 19, 2009 at 12:04 AM, Praveen <praveen.python.pl...@gmail.com>wrote:
> > Hi could you please tell me more about sorry i could not get you. are > you using django-profiles? > > On Feb 19, 8:24 am, timlash <timl...@gmail.com> wrote: > > I'm running Python 2.4, Django 1.0.2 and Django_Registration-0.7 on my > > Debian Etch box. I'm making decent progress on developing my first > > Django web app. I've got models, tables, views, templates, > > registration has successfully sent Gmail and test users have been > > activated. > > > > My first noob problem: I don't understand how Django and/or > > Registration is controlling the order in which web pages are > > requested. After logging in a test user on the development server at: > > > > http://localhost:8000/mysite/accounts/login/ > > > > the following page is requested: > > > > http://localhost:8000/accounts/profile/ > > > > Obviously, this throws an error since urls.py only includes references > > to mysite. This line is also inurls.py: > > > > (r'^mysite/accounts/', include('registration.urls')), > > > > I've searched the Django doc and poked through all the registration > > files but I can't find any instructions that tell the web server to go > > (upon successful login) from .../login/ to .../profile/ > > > > Any pointers would be greatly appreciated. > > > > Cheers, > > > > Tim > > > There is a setting in django which controls where you are redirected to after logging in: http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#login-redirect-url Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---