# HG changeset patch # User nishanth # Date 1271491705 -19800 # Node ID e51b94b6b5a4208cf69a6b7bd56317aa6f6e7b26 # Parent f5ae0bcb044e3009a9c7c387e542f6f5179a73ee now comments also will be displayed through the unordered_list filter diff -r f5ae0bcb044e -r e51b94b6b5a4 feedback/views.py --- a/feedback/views.py Sat Apr 17 13:20:33 2010 +0530 +++ b/feedback/views.py Sat Apr 17 13:38:25 2010 +0530 @@ -107,12 +107,11 @@ day_feeds = Feedback.objects.filter(event=event,day=day_num) day_report = make_day_report(day_feeds) if day_report: - day_comments = "Comments:
    " + day_comments = [] for feed in day_feeds: if feed.comments: - day_comments += "
  1. %s
  2. "%feed.comments - day_comments += "
" - day_report.append(day_comments) + day_comments.append(feed.comments) + day_report.extend(["Comments:",day_comments]) workshop_report.extend( [ "Day %s"%day_num, day_report] ) return render_to_response("show_report.html", {"user":user, "event":event, "workshop_report":workshop_report})