comparison 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
comparison
equal deleted inserted replaced
997:19b86e684cc2 998:e2c3d7ecfa30
3 3
4 urlpatterns = patterns('news.views', 4 urlpatterns = patterns('news.views',
5 url(r'^date/$', 'index', name='news-index_page'), 5 url(r'^date/$', 'index', name='news-index_page'),
6 url(r'^archive/$', 'archive_index', name='news-archive_index'), 6 url(r'^archive/$', 'archive_index', name='news-archive_index'),
7 url(r'^archive/(?P<year>\d{4})/(?P<month>\d\d?)/$', 7 url(r'^archive/(?P<year>\d{4})/(?P<month>\d\d?)/$',
8 'archive', 8 'archive',
9 name='news-archive_page'), 9 name='news-archive_page'),
10 url(r'^categories/$', 'category_index', name='news-category_index'), 10 url(r'^categories/$', 'category_index', name='news-category_index'),
11 url(r'^category/(?P<slug>[\w\d-]+)/$', 'category', name='news-category'), 11 url(r'^category/(?P<slug>[\w\d-]+)/$', 'category', name='news-category'),
12 url(r'^email/(\d+)/$', 'email_story', name='news-email_story'), 12 url(r'^email/(\d+)/$', 'email_story', name='news-email_story'),
13 url(r'^email/thanks/$', 'email_thanks', name='news-email_thanks'), 13 url(r'^email/thanks/$', 'email_thanks', name='news-email_thanks'),