Re: Problem reversing urls when calling templates from another project

2011-05-20 Thread ALJ
ok ... still struggling. While in Public_site.views I can call functions from within the Extranet_site.views ... but I can't even do a: return HttpResponseRedirect(reverse('Extranet_site.application_name.views.function_name', args=(999,))) Within my Public_site.settings I have installed Extranet

Re: Problem reversing urls when calling templates from another project

2011-05-20 Thread ALJ
@Shawn Cheers. I'm such a c*ck. I am so used to using named URL patterns that I just assumed that that was how you did it. So yes, I've had a look at the documentation, although still struggling to get it to find the reverse, even when using the full path. -- You received this message because you

Re: Problem reversing urls when calling templates from another project

2011-05-20 Thread Shawn Milochik
Does this help? http://docs.djangoproject.com/en/1.3/topics/http/urls/#topics-http-reversing-url-namespaces I found it here (where a usage example is given): http://docs.djangoproject.com/en/1.3/ref/templates/builtins/#url -- You received this message because you are subscribed to the Google G

Problem reversing urls when calling templates from another project

2011-05-20 Thread ALJ
I have two projects that work together. Lets call them Extranet_site and Public_site. Most of the functionality was developed for Extranet_site, but we wanted to capture requests from the public, so we set up Public_site and then just attached to some of the functionality in Extranet_site. A scena