summaryrefslogtreecommitdiff
path: root/sublab_project/news/urls.py
diff options
context:
space:
mode:
authorMarkus Zapke-Grùˆndemann <info@keimlink.de>2012-01-09 07:25:19 +0100
committerMarkus Zapke-Grùˆndemann <info@keimlink.de>2012-01-09 07:25:19 +0100
commit2126f86d4d83409311e264dbaf93facf435a505b (patch)
tree814d108bc4977c70fb26b5247bae9ad8fe89f8f6 /sublab_project/news/urls.py
parentd8e87d205cfda78460c7078dd980a22572b9111b (diff)
Added thumbnails for news.
Diffstat (limited to 'sublab_project/news/urls.py')
-rw-r--r--sublab_project/news/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sublab_project/news/urls.py b/sublab_project/news/urls.py
index c8b1de5..574afd4 100644
--- a/sublab_project/news/urls.py
+++ b/sublab_project/news/urls.py
@@ -10,4 +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/$',
+ DetailView.as_view(model=News, template_name='news/news_image.html'),
+ name='news_image'),
)