Mercurial > public > sg101
diff news/urls.py @ 998:e2c3d7ecfa30
Added tests for submit news.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 20 Nov 2015 23:07:37 -0600 |
parents | ee87ea74d46b |
children | 5ba2508939f7 |
line wrap: on
line diff
--- a/news/urls.py Tue Nov 17 21:01:20 2015 -0600 +++ b/news/urls.py Fri Nov 20 23:07:37 2015 -0600 @@ -5,7 +5,7 @@ url(r'^date/$', 'index', name='news-index_page'), url(r'^archive/$', 'archive_index', name='news-archive_index'), url(r'^archive/(?P<year>\d{4})/(?P<month>\d\d?)/$', - 'archive', + 'archive', name='news-archive_page'), url(r'^categories/$', 'category_index', name='news-category_index'), url(r'^category/(?P<slug>[\w\d-]+)/$', 'category', name='news-category'),