--- a/reg/views.py Tue Apr 13 14:51:22 2010 +0530
+++ b/reg/views.py Tue Apr 13 14:54:06 2010 +0530
@@ -247,9 +247,9 @@
except Event.DoesNotExist:
return redirect("/reg")
- is_org = True if user in event.organizers.all() else False
+ can_do_this = True if user in event.organizers.all() and user.is_staff else False
- if is_org and event.feedback_status == '0':
+ if can_do_this and event.feedback_status == '0':
#days = event.stop_date.day() - event.start_date.day() + 1
days = 2
if request.method == "POST":