diff options
-rw-r--r-- | sublab_project/news/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sublab_project/news/urls.py b/sublab_project/news/urls.py index 574afd4..fbeb4f4 100644 --- a/sublab_project/news/urls.py +++ b/sublab_project/news/urls.py @@ -10,7 +10,7 @@ urlpatterns = patterns('', 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'), - url(r'^(?P<slug>[-\w]+)/bild/$', + url(r'^(?P<slug>[-\w]+)/image/$', DetailView.as_view(model=News, template_name='news/news_image.html'), name='news_image'), ) |