From d14b59da51faad1257a34911c6a000b6a03d0736 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Fri, 30 Dec 2011 06:23:00 +0100 Subject: Clean up newsurls --- sublab_project/news/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sublab_project/news') 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[-\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[-\w]+)/$', DetailView.as_view(model=News), name='news_detail'), ) -- cgit v1.2.1