Thanks Nathaniel. Adding the line to my urls.py just before the include works.
MJ On Apr 29, 5:00 am, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote: > On Apr 28, 6:30 pm, Szaijan <[EMAIL PROTECTED]> wrote: > > > The base urls function properly, i.e. /visionary/accounts/register > > goes where it is supposed to, but when resulting URLs are called, they > > all get called as /accounts/register/complete instead of /visionary/ > > accounts/register/complete. > > Look at the view [1] in django-registration where that is happening. > That particular url can be overridden by passing a new value to the > ``success_url`` parameter. If you don't want to modify your checkout > of django-registration (which you shouldn't!), remember that Django > stops at the first matching url, so before the line in your urlconf > where you include ``registration.urls``, put something like the > following:: > > url(r'^visionary/accounts/register/$', register, {'success_url': '/ > visionary/accounts/register/complete'}, name='registration_register'), > > .. [1]http://code.google.com/p/django-registration/source/browse/trunk/regi... --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---