]> git.openstreetmap.org Git - osqa.git/commitdiff
make user subscriptions view decoratable
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 9 Jun 2012 13:15:36 +0000 (13:15 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 9 Jun 2012 13:15:36 +0000 (13:15 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1270 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/views/users.py

index 0777005e820e89d7752ddbeaa86b33bb6bc5ba8b..84f1cdf2ad222e182161a658a620d8f01953cc46 100644 (file)
@@ -394,6 +394,9 @@ def user_favorites(request, user, **kwargs):
 \r
 @user_view('users/subscriptions.html', 'subscriptions', _('subscription'), _('subscriptions'), True, tabbed=False)\r
 def user_subscriptions(request, user, **kwargs):\r
+    return _user_subscriptions(request, user, **kwargs)\r
+\r
+def _user_subscriptions(request, user, **kwargs):\r
     enabled = True\r
 \r
     tab = request.GET.get('tab', "settings")\r