view gpp/forums/urls.py @ 89:021492db4aad

Forums: Got the reply function working.
author Brian Neal <bgneal@gmail.com>
date Sat, 12 Sep 2009 21:29:31 +0000
parents 531fcc342a03
children 62af8cd8f57b
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'^forum/(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'),
    url(r'^forum/(?P<slug>[\w\d-]+)/new-topic/$', 'new_topic', name='forums-new_topic'),
    url(r'^quick-reply/$', 'quick_reply_ajax', name='forums-quick_reply'),
)