X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/bb8272178c6c35fcb92bc5a08342faf40d3fab1b..3c8f423203be690dd0bda32e90eec49f1650e4c6:/sommitrealweird/blog/urls.py diff --git a/sommitrealweird/blog/urls.py b/sommitrealweird/blog/urls.py index f41ed25..2ec24bd 100644 --- a/sommitrealweird/blog/urls.py +++ b/sommitrealweird/blog/urls.py @@ -5,6 +5,9 @@ urlpatterns = patterns('', (r'^(?P[0-9]{4})/(?P[0-9]{2})/(?P[0-9]{2})/(?P[^/]+)(/|)$', 'blog.views.blog_view'), (r'^(?P[0-9]{4})(?P[0-9]{2})(?P[0-9]{2})-(?P[^/]+)\.html$', 'blog.views.blog_view'), (r'^(?P[0-9]{4})(?P[0-9]{2})(?P[0-9]{2})(?P[0-9]{2})(?P[0-9]{2})-(?P[^/]+)\.html$', 'blog.views.blog_view'), + (r'^(?P[0-9]{4})/(?P[0-9]{2})/(?P[0-9]{2})/$', 'blog.views.blog_view'), + (r'^(?P[0-9]{4})/(?P[0-9]{2})/$', 'blog.views.blog_view'), + (r'^(?P[0-9]{4})/$', 'blog.views.blog_view'), (r'^section/(?P
[^/]*)/$', 'blog.views.blog_index'), (r'^$', 'blog.views.blog_index'), )