Mercurial > public > sg101
view 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 source
""" URLs for the forums application. """ from django.conf.urls.defaults import * 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'), )