Re: Need help loading template

2008-04-20 Thread spirit
I think you can write it like (r‘^([\w-]+)/(\d{4})/(\d+)/(\d+)/(?P\d+)/$’, find_seminar_occurrence), it should be OK. On 4月20日, 上午10时31分, Brandon Taylor <[EMAIL PROTECTED]> wrote: > Changing my urls.py to this: > > from django.conf.urls.defaults import * > from rdk.training.views import * > > url

Re: Need help loading template

2008-04-19 Thread Brandon Taylor
Changing my urls.py to this: from django.conf.urls.defaults import * from rdk.training.views import * urlpatterns = patterns('', (r'^$', list_seminars), (r'^([\w-]+)/(\d{4})/(\d{1,2})/(\d{1,2})/(?P \d+)/$', find_seminar_occurrence), ) fixed the prob

Need help loading template

2008-04-19 Thread Brandon Taylor
Hi everyone, In my urls.py, I'm matching: a slug from a foreign key / the year / month / day / pk of the record as such: from django.conf.urls.defaults import * from rdk.training.views import * urlpatterns = patterns('', (r'^$', list_seminars), (r'[