django url matching

Posted by ben on Stack Overflow See other posts from Stack Overflow or by ben
Published on 2010-05-13T13:33:28Z Indexed on 2010/05/13 13:44 UTC
Read the original article Hit count: 246

Filed under:
|

can anyone see why this wouldn't be working. Fairly new to django so any help would be much appreciated

actual url: http://127.0.0.1:8000/2010/may/12/my-second-blog-post/

urls.py:

(r'(?P<year>d{4})/(?P<month>[a-z]{3})/(?P<day>w{1,2})/(?P<slug>[-w]+)/$', 'object_detail', dict(info_dict, slug_field='slug',template_name='blog/detail.html')),

© Stack Overflow or respective owner

Related posts about python

Related posts about django