From 94787951ad3635f67cdbfd195f2fb6c910d16900 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 10 Jul 2012 15:58:19 -0400 Subject: [PATCH] allowed staff to manage campaigns --- frontend/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/views.py b/frontend/views.py index b9e573df..5e707ad5 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -338,7 +338,7 @@ def manage_campaign(request, id): campaign = get_object_or_404(models.Campaign, id=id) campaign.not_manager=False campaign.problems=[] - if (not request.user.is_authenticated) or (not request.user in campaign.managers.all()): + if (not request.user.is_authenticated) or (not request.user in campaign.managers.all() and not request.user.is_staff): campaign.not_manager=True return render(request, 'manage_campaign.html', {'campaign': campaign}) alerts = []