Commits

Anonymous committed b82bf6a

Fixed default pattern names

Comments (0)

Files changed (1)

gnocchi_blog/urls.py

 urlpatterns = patterns('gnocchi_blog.views',
     url(r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[\w-]+)/$',
         'blog_detail',
-        name='blog_detail',
+        name='blog-detail',
     ),
-    url(r'^$', 'blog_list', ),
+    url(r'^$', 'blog-list', ),
 )
-
-