From 7deaf42044d82ea939afa0b72b67c1e8877925c8 Mon Sep 17 00:00:00 2001 From: jordan Date: Sat, 9 Jun 2012 13:15:36 +0000 Subject: [PATCH 1/1] make user subscriptions view decoratable git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1270 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/views/users.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/forum/views/users.py b/forum/views/users.py index 0777005..84f1cdf 100644 --- a/forum/views/users.py +++ b/forum/views/users.py @@ -394,6 +394,9 @@ def user_favorites(request, user, **kwargs): @user_view('users/subscriptions.html', 'subscriptions', _('subscription'), _('subscriptions'), True, tabbed=False) def user_subscriptions(request, user, **kwargs): + return _user_subscriptions(request, user, **kwargs) + +def _user_subscriptions(request, user, **kwargs): enabled = True tab = request.GET.get('tab', "settings") -- 2.39.5