Mercurial > public > sg101
annotate gpp/forums/urls.py @ 98:d0d779dd0832
Forums: flag posts.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 13 Sep 2009 21:45:35 +0000 |
parents | 62af8cd8f57b |
children | cb72577785df |
rev | line source |
---|---|
bgneal@81 | 1 """ |
bgneal@81 | 2 URLs for the forums application. |
bgneal@81 | 3 """ |
bgneal@81 | 4 from django.conf.urls.defaults import * |
bgneal@81 | 5 |
bgneal@81 | 6 urlpatterns = patterns('forums.views', |
bgneal@81 | 7 url(r'^$', 'index', name='forums-index'), |
bgneal@83 | 8 url(r'^new-topic-success/(?P<tid>\d+)$', 'new_topic_thanks', name='forums-new_topic_thanks'), |
bgneal@82 | 9 url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'), |
bgneal@98 | 10 url(r'^flag-post/$', 'flag_post', name='forums-flag_post'), |
bgneal@85 | 11 url(r'^forum/(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), |
bgneal@85 | 12 url(r'^forum/(?P<slug>[\w\d-]+)/new-topic/$', 'new_topic', name='forums-new_topic'), |
bgneal@91 | 13 url(r'^post/(\d+)/$', 'goto_post', name='forums-goto_post'), |
bgneal@89 | 14 url(r'^quick-reply/$', 'quick_reply_ajax', name='forums-quick_reply'), |
bgneal@81 | 15 ) |
bgneal@83 | 16 |