diff options
-rw-r--r-- | website/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/website/views.py b/website/views.py index b1411c1..c0f1c54 100644 --- a/website/views.py +++ b/website/views.py @@ -532,7 +532,7 @@ def status(request, proposal_id=None): user = request.user context = {} if user.is_authenticated: - if user.is_superuser: + if user.is_staff: proposal = Proposal.objects.get(id=proposal_id) if 'accept' in request.POST: proposal.status = "Accepted" @@ -650,7 +650,7 @@ def status_change(request): user = request.user context = {} if user.is_authenticated: - if user.is_superuser: + if user.is_staff: if 'delete' in request.POST: delete_proposal = request.POST.getlist('delete_proposal') for proposal_id in delete_proposal: |