diff ygroup/urls.py @ 1045:5d208c3321ce

First stab at V3 design. WIP.
author Brian Neal <bgneal@gmail.com>
date Sun, 07 Feb 2016 20:43:42 -0600
parents 5ba2508939f7
children db8f5b3204b7
line wrap: on
line diff
--- a/ygroup/urls.py	Fri Jan 15 21:41:24 2016 -0600
+++ b/ygroup/urls.py	Sun Feb 07 20:43:42 2016 -0600
@@ -17,6 +17,7 @@
         ThreadView.as_view(),
         name='ygroup-thread_view'),
     url(r'^post/(?P<pk>\d+)/$',
-        DetailView.as_view(model=Post, context_object_name='post'),
+        DetailView.as_view(model=Post, context_object_name='post',
+                           template_name='ygroup/v3/post.html'),
         name='ygroup-post_view'),
 ]