comparison gpp/forums/urls.py @ 382:a1b03de20345

Fixing #185; add a global forums catchup button.
author Brian Neal <bgneal@gmail.com>
date Wed, 09 Mar 2011 02:39:24 +0000
parents dd673fae508d
children c374bfd5594f
comparison
equal deleted inserted replaced
381:6df1091b11b2 382:a1b03de20345
3 """ 3 """
4 from django.conf.urls.defaults import * 4 from django.conf.urls.defaults import *
5 5
6 urlpatterns = patterns('forums.views.main', 6 urlpatterns = patterns('forums.views.main',
7 url(r'^$', 'index', name='forums-index'), 7 url(r'^$', 'index', name='forums-index'),
8 url(r'^catchup/$', 'catchup_all', name='forums-catchup_all'),
8 url(r'^new-topic-success/(?P<tid>\d+)$', 'new_topic_thanks', name='forums-new_topic_thanks'), 9 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'), 10 url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'),
10 url(r'^topic/(?P<id>\d+)/unread/$', 'topic_unread', name='forums-topic_unread'), 11 url(r'^topic/(?P<id>\d+)/unread/$', 'topic_unread', name='forums-topic_unread'),
11 url(r'^delete-post/$', 'delete_post', name='forums-delete_post'), 12 url(r'^delete-post/$', 'delete_post', name='forums-delete_post'),
12 url(r'^edit/(?P<id>\d+)/$', 'edit_post', name='forums-edit_post'), 13 url(r'^edit/(?P<id>\d+)/$', 'edit_post', name='forums-edit_post'),