summaryrefslogtreecommitdiff
path: root/sublab_project/news
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2011-12-30 06:23:00 +0100
committerChristian Franke <nobody@nowhere.ws>2011-12-30 06:27:20 +0100
commitd14b59da51faad1257a34911c6a000b6a03d0736 (patch)
tree83bc5c5a6d664ad8bad1391ef204425087fd76d3 /sublab_project/news
parent79339bdd5307788a2b8f384f6371b3992aed2700 (diff)
Clean up newsurls
Diffstat (limited to 'sublab_project/news')
-rw-r--r--sublab_project/news/urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sublab_project/news/urls.py b/sublab_project/news/urls.py
index 7f2029c..c8b1de5 100644
--- a/sublab_project/news/urls.py
+++ b/sublab_project/news/urls.py
@@ -7,7 +7,7 @@ from news.views import NewsListView
urlpatterns = patterns('',
url(r'^$', NewsListView.as_view(), name='news_list'),
- url(r'^news/(?P<slug>[-\w]+)/$', DetailView.as_view(model=News), name='news_detail'),
- url(r'^newsfeed/rss/$', NewsFeed(), name='news_feed'),
- url(r'^newsfeed/atom/$', NewsFeedAtom(), name='news_feed_atom'),
+ url(r'^rss/$', NewsFeed(), name='news_feed'),
+ url(r'^atom/$', NewsFeedAtom(), name='news_feed_atom'),
+ url(r'^(?P<slug>[-\w]+)/$', DetailView.as_view(model=News), name='news_detail'),
)