Mercurial > public > sg101
diff gpp/forums/urls.py @ 212:fad7548b7f6e
Fix #80: give moderators the ability to deactivate users for spam.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 09 May 2010 20:53:34 +0000 |
parents | 500e5875a306 |
children | 8c1832b9d815 |
line wrap: on
line diff
--- a/gpp/forums/urls.py Sat May 08 23:44:59 2010 +0000 +++ b/gpp/forums/urls.py Sun May 09 20:53:34 2010 +0000 @@ -34,3 +34,8 @@ url(r'^subscriptions/(\d+)/$', 'subscription_status', name='forums-subscription_status'), url(r'^unsubscribe/(\d+)/$', 'unsubscribe_topic', name='forums-unsubscribe_topic'), ) + +urlpatterns += patterns('forums.spam', + url(r'^spammer/(\d+)/$', 'spammer', name='forums-spammer'), + url(r'^spammer/nailed/(\d+)/$', 'spammer_nailed', name='forums-spammer_nailed'), +)