Mercurial > public > sg101
diff gpp/forums/urls.py @ 83:5b4c812b448e
Forums: Added the ability to add a new topic. This is very much a work in progress.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 29 Aug 2009 20:54:16 +0000 |
parents | bc3978f023c2 |
children | 531fcc342a03 |
line wrap: on
line diff
--- a/gpp/forums/urls.py Sun Aug 23 04:04:29 2009 +0000 +++ b/gpp/forums/urls.py Sat Aug 29 20:54:16 2009 +0000 @@ -5,6 +5,9 @@ urlpatterns = patterns('forums.views', url(r'^$', 'index', name='forums-index'), + url(r'^new-topic-success/(?P<tid>\d+)$', 'new_topic_thanks', name='forums-new_topic_thanks'), url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'), url(r'^(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), + url(r'^(?P<slug>[\w\d-]+)/topic/$', 'new_topic', name='forums-new_topic'), ) +