diff options
Diffstat (limited to 'app/blog/urls.py')
-rw-r--r-- | app/blog/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/blog/urls.py b/app/blog/urls.py index f792527..eb69873 100644 --- a/app/blog/urls.py +++ b/app/blog/urls.py @@ -12,8 +12,8 @@ urlpatterns = patterns('', urlpatterns = patterns('', url(r'(?P<year>\d{4})/(?P<month>\d{2})/(?P<slug>[-\w]+)$', 'blog.views.entry_detail'), - #url(r'(?P<year>\d{4})/(?P<month>\d{2})/$', 'blog.views.date_list', name="blog_by_month"), - #url(r'(?P<year>\d{4})/$', 'blog.views.date_list', name="blog_by_year"), + url(r'(?P<year>\d{4})/(?P<month>\d{2})/$', 'blog.views.date_list', name="blog_by_month"), + url(r'(?P<year>\d{4})/$', 'blog.views.date_list', name="blog_by_year"), (r'(?P<slug>[-\w]+)/(?P<page>\d+)/$', 'blog.views.entry_list_by_area'), (r'(?P<page>\d+)/$', 'blog.views.entry_list'), url(r'(?P<slug>[-\w]+)/$', RedirectView.as_view(url="/jrnl/%(slug)s/1/")), |