Mercurial > public > sg101
comparison gpp/forums/urls.py @ 91:62af8cd8f57b
Forums: added support for Post get_absolute_url()
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 13 Sep 2009 04:05:37 +0000 |
parents | 021492db4aad |
children | d0d779dd0832 |
comparison
equal
deleted
inserted
replaced
90:317c7bcaecee | 91:62af8cd8f57b |
---|---|
7 url(r'^$', 'index', name='forums-index'), | 7 url(r'^$', 'index', name='forums-index'), |
8 url(r'^new-topic-success/(?P<tid>\d+)$', 'new_topic_thanks', name='forums-new_topic_thanks'), | 8 url(r'^new-topic-success/(?P<tid>\d+)$', 'new_topic_thanks', name='forums-new_topic_thanks'), |
9 url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'), | 9 url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'), |
10 url(r'^forum/(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), | 10 url(r'^forum/(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), |
11 url(r'^forum/(?P<slug>[\w\d-]+)/new-topic/$', 'new_topic', name='forums-new_topic'), | 11 url(r'^forum/(?P<slug>[\w\d-]+)/new-topic/$', 'new_topic', name='forums-new_topic'), |
12 url(r'^post/(\d+)/$', 'goto_post', name='forums-goto_post'), | |
12 url(r'^quick-reply/$', 'quick_reply_ajax', name='forums-quick_reply'), | 13 url(r'^quick-reply/$', 'quick_reply_ajax', name='forums-quick_reply'), |
13 ) | 14 ) |
14 | 15 |