# HG changeset patch # User nishanth # Date 1271895095 -19800 # Node ID aae2f69ba89cd55aab1cc47a33be0a5676337276 # Parent 8a837762531b0eae2e2c3c22a52f7c0468940c08 updated the que_dump template to show the question properly. diff -r 8a837762531b -r aae2f69ba89c event/views.py --- a/event/views.py Thu Apr 22 05:33:07 2010 +0530 +++ b/event/views.py Thu Apr 22 05:41:35 2010 +0530 @@ -207,4 +207,4 @@ ans.save() return redirect("/quiz/toppers/%s/%s"%(ADMIN_KEY, quiz_num)) else: - return render_to_response("que_dump.html", {"quiz_name":quiz_name, "answers":answers}) + return render_to_response("que_dump.html", {"quiz_name":quiz_name, "question":question, "answers":answers}) diff -r 8a837762531b -r aae2f69ba89c templates/que_dump.html --- a/templates/que_dump.html Thu Apr 22 05:33:07 2010 +0530 +++ b/templates/que_dump.html Thu Apr 22 05:41:35 2010 +0530 @@ -1,6 +1,11 @@ {% extends 'base.html' %} {% block content %} -List of answers submitted for {{quiz_name}} of {{event.title}}
+List of answers submitted for {{quiz_name}}
+
+{{question.description|linebreaksbr}}

+
{{question.code}}
+
+Answers Submitted: