--- a/feedback/views.py Tue Apr 13 16:32:13 2010 +0530
+++ b/feedback/views.py Thu Apr 15 11:57:42 2010 +0530
@@ -4,6 +4,7 @@
from workshop.feedback.models import Feedback
from workshop.feedback.forms import FeedbackForm
+from workshop.feedback.utils import compile_report
from django.http import HttpResponse
@@ -61,6 +62,9 @@
if not user in event.organizers.all():
raise Http404
- feeds = Feedback.objects.filter(event=event)
- return render_to_response('list_feedbacks.html',{'feeds':feeds})
+ no_of_days = (event.stop_date - event.start_date).days
+ days = range(1,no_of_days+1)
+
+ return render_to_response('list_feedbacks.html',{'user':user, 'event':event})
+