diff 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
line wrap: on
line diff
--- a/gpp/forums/urls.py	Sat Apr 02 00:12:40 2011 +0000
+++ b/gpp/forums/urls.py	Sat Apr 02 00:47:05 2011 +0000
@@ -9,6 +9,7 @@
     url(r'^new-topic-success/(?P<tid>\d+)$', 'new_topic_thanks', name='forums-new_topic_thanks'),
     url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'),
     url(r'^topic/(?P<id>\d+)/unread/$', 'topic_unread', name='forums-topic_unread'),
+    url(r'^topic/active/(\d+)/$', 'active_topics', name='forums-active_topics'),
     url(r'^delete-post/$', 'delete_post', name='forums-delete_post'),
     url(r'^edit/(?P<id>\d+)/$', 'edit_post', name='forums-edit_post'),
     url(r'^flag-post/$', 'flag_post', name='forums-flag_post'),