Подскажите пожалуйста, в чем я ошибся:
пишу в urls.py:
(r'^articles/(?P<year>\d{4})/(?P<month>\w{3})/(?P<day>\d{2})/(P?<slug>[-\w]+)/$', 'main.views.entry_detail'),
в итоге 404 ошибка:
Page not found (404)
Request Method: GET
Request URL: http://127.0.0.1:8000/articles/2010/feb/14/vtoraya-zapis/
Using the URLconf defined in wpbaze.urls, Django tried these URL patterns, in this order:
^$
^articles/(?P<year>\d{4})/(?P<month>\w{3})/(?P<day>\d{2})/(P?<slug>[-\w]+)/$
^admin/
The current URL, articles/2010/feb/14/vtoraya-zapis/, didn't match any of these.