Mercurial > public > sg101
comparison gpp/forums/urls.py @ 107:e94398f5e027
Forums: implemented post delete feature.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 22 Sep 2009 03:36:39 +0000 |
parents | cb72577785df |
children | 80ab249d1adc |
comparison
equal
deleted
inserted
replaced
106:cb72577785df | 107:e94398f5e027 |
---|---|
5 | 5 |
6 urlpatterns = patterns('forums.views', | 6 urlpatterns = patterns('forums.views', |
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'^delete-post/$', 'delete_post', name='forums-delete_post'), | |
10 url(r'^edit/(?P<id>\d+)/$', 'edit_post', name='forums-edit_post'), | 11 url(r'^edit/(?P<id>\d+)/$', 'edit_post', name='forums-edit_post'), |
11 url(r'^flag-post/$', 'flag_post', name='forums-flag_post'), | 12 url(r'^flag-post/$', 'flag_post', name='forums-flag_post'), |
12 url(r'^forum/(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), | 13 url(r'^forum/(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), |
13 url(r'^forum/(?P<slug>[\w\d-]+)/new-topic/$', 'new_topic', name='forums-new_topic'), | 14 url(r'^forum/(?P<slug>[\w\d-]+)/new-topic/$', 'new_topic', name='forums-new_topic'), |
14 url(r'^post/(\d+)/$', 'goto_post', name='forums-goto_post'), | 15 url(r'^post/(\d+)/$', 'goto_post', name='forums-goto_post'), |