Re: URL conf question .....

2009-05-27 Thread Aaron Maxwell
On Tuesday 26 May 2009 07:21:16 pm tekion wrote: > Part 3 tutorial from django site, suggest the below method of > optimizing urls. > urlpatterns = patterns('mysite.polls.views', > (r'^polls/$', 'index'), > (r'^polls/(?P\d+)/$', 'detail'), > (r'^polls/(?P\d+)/results/$', 'results'), >

Re: URL conf question .....

2009-05-26 Thread Sam Chuparkoff
On May 26, 10:21 pm, tekion wrote: > But what if > you do not have a common prefix, would it still work?  Thanks. Sure, here is the reference: http://docs.djangoproject.com/en/dev/topics/http/urls/#multiple-view-prefixes sdc --~--~-~--~~~---~--~~ You received t