comparison gpp/forums/urls.py @ 409:c374bfd5594f

Fixing #177; added a view to display the last x active topics (where x is between 10 and 50). Added a link to the view on the forum query drop down.
author Brian Neal <bgneal@gmail.com>
date Sat, 02 Apr 2011 00:47:05 +0000
parents a1b03de20345
children 7388cdf61b25
comparison
equal deleted inserted replaced
408:7e0997b08b50 409:c374bfd5594f
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'^catchup/$', 'catchup_all', name='forums-catchup_all'),
9 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'),
10 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'),
11 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'),
12 url(r'^topic/active/(\d+)/$', 'active_topics', name='forums-active_topics'),
12 url(r'^delete-post/$', 'delete_post', name='forums-delete_post'), 13 url(r'^delete-post/$', 'delete_post', name='forums-delete_post'),
13 url(r'^edit/(?P<id>\d+)/$', 'edit_post', name='forums-edit_post'), 14 url(r'^edit/(?P<id>\d+)/$', 'edit_post', name='forums-edit_post'),
14 url(r'^flag-post/$', 'flag_post', name='forums-flag_post'), 15 url(r'^flag-post/$', 'flag_post', name='forums-flag_post'),
15 url(r'^forum/(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), 16 url(r'^forum/(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'),
16 url(r'^forum/(?P<slug>[\w\d-]+)/catchup/$', 'forum_catchup', name='forums-catchup'), 17 url(r'^forum/(?P<slug>[\w\d-]+)/catchup/$', 'forum_catchup', name='forums-catchup'),