Mercurial > public > sg101
diff gpp/forums/urls.py @ 82:bc3978f023c2
Forums: started the ability to display topics inside a forum.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 23 Aug 2009 04:04:29 +0000 |
parents | e356ea79a7a2 |
children | 5b4c812b448e |
line wrap: on
line diff
--- a/gpp/forums/urls.py Sun Aug 23 00:14:52 2009 +0000 +++ b/gpp/forums/urls.py Sun Aug 23 04:04:29 2009 +0000 @@ -5,5 +5,6 @@ urlpatterns = patterns('forums.views', url(r'^$', 'index', name='forums-index'), + url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'), url(r'^(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), )