diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/base_urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/base_urls.py b/config/base_urls.py index dd3ca2e..dbf7727 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -48,7 +48,8 @@ urlpatterns += patterns('', (r'^writing/', include('blog.urls')), (r'^projects/', include('projects.urls')), #Entry detail i.e. /year/month/day/my-title/ - (r'(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[-\w]+)/$', 'blog.views.entry_detail'), + #old: (r'(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[-\w]+)/$', 'blog.views.entry_detail'), + (r'(?P<year>\d{4})/(?P<month>\d{2})/(?P<slug>[-\w]+)$', 'blog.views.entry_detail'), # locations (r'^locations/', include('locations.urls')), (r'^photos/', include('photos.urls')), |