comparison 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
comparison
equal deleted inserted replaced
1043:867e84d18b0f 1045:5d208c3321ce
15 name='ygroup-thread_index'), 15 name='ygroup-thread_index'),
16 url(r'^thread/(\d+)/$', 16 url(r'^thread/(\d+)/$',
17 ThreadView.as_view(), 17 ThreadView.as_view(),
18 name='ygroup-thread_view'), 18 name='ygroup-thread_view'),
19 url(r'^post/(?P<pk>\d+)/$', 19 url(r'^post/(?P<pk>\d+)/$',
20 DetailView.as_view(model=Post, context_object_name='post'), 20 DetailView.as_view(model=Post, context_object_name='post',
21 template_name='ygroup/v3/post.html'),
21 name='ygroup-post_view'), 22 name='ygroup-post_view'),
22 ] 23 ]