diff gpp/forums/urls.py @ 181:500e5875a306

Implementing #61: adding a forum topic subscription feature.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Mar 2010 01:07:47 +0000
parents 0fa78ef80356
children fad7548b7f6e
line wrap: on
line diff
--- a/gpp/forums/urls.py	Sun Mar 21 20:33:33 2010 +0000
+++ b/gpp/forums/urls.py	Sun Mar 28 01:07:47 2010 +0000
@@ -28,3 +28,9 @@
     url(r'^unread/$', 'unread_topics', name='forums-unread_topics'),
 )
 
+urlpatterns += patterns('forums.subscriptions',
+    url(r'^subscribe/(\d+)/$', 'subscribe_topic', name='forums-subscribe_topic'),
+    url(r'^subscriptions/$', 'manage_subscriptions', name='forums-manage_subscriptions'),
+    url(r'^subscriptions/(\d+)/$', 'subscription_status', name='forums-subscription_status'),
+    url(r'^unsubscribe/(\d+)/$', 'unsubscribe_topic', name='forums-unsubscribe_topic'),
+)