summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'),
)