fixed the unsubscribe button on the subscriptions page.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@540
0cfe37f9-358a-4d5e-be75-
b63607b5c754
show_auto = True\r
manage_open = False\r
\r
- if len(request.GET) > 0:\r
- manage_open = True\r
- \r
if auto == 'True':\r
+ manage_open = True\r
show_auto = True\r
subscriptions = QuestionSubscription.objects.filter(user=user).order_by('-last_view') \r
- #subscriptions = user.subscriptions.all().order_by('-questionsubscription__last_view')\r
+ # subscriptions = user.subscriptions.all().order_by('-questionsubscription__last_view')\r
else:\r
+ manage_open = True\r
show_auto = False\r
subscriptions = QuestionSubscription.objects.filter(user=user, auto_subscription=False).order_by('-last_view')\r
- #subscriptions = user.subscriptions.filter(questionsubscription__auto_subscription=False).order_by('-questionsubscription__last_view')\r
+ # subscriptions = user.subscriptions.filter(questionsubscription__auto_subscription=False).order_by('-questionsubscription__last_view')\r
\r
if request.method == 'POST':\r
manage_open = False\r