Re: Problem with named paths

2008-09-17 Thread Malcolm Tredinnick
On Wed, 2008-09-17 at 08:59 -0700, Brandon Taylor wrote: > Hello everyone, > > I'm using named paths as such: > > url(r'^[-\w]+/(?P[-\w]+)/$', 'render_page', > name='nested_page_link'), > url(r'^(?P[-\w]+)/$', 'render_page', name='page_link'), > [...] > > But, this throws an error: > > Reve

Re: Problem with named paths

2008-09-17 Thread Brandon Taylor
Hi Norman, Thanks for the reply. I ended up just having two view functions and a common call to render_to_response. It's not quite as pretty as I was hoping for, but it will work just fine for this app. Kind regards, Brandon On Sep 17, 1:53 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote: > Brand

Re: Problem with named paths

2008-09-17 Thread Norman Harman
Brandon Taylor wrote: > Hello everyone, > > I'm using named paths as such: > > url(r'^[-\w]+/(?P[-\w]+)/$', 'render_page', > name='nested_page_link'), > url(r'^(?P[-\w]+)/$', 'render_page', name='page_link'), > > The only difference between these two urls is that some pages in this > site can b