updated the que_dump template to show the question properly.
--- 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})
--- 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}}<br />
+List of answers submitted for {{quiz_name}}<br />
+<br />
+{{question.description|linebreaksbr}}<br /><br />
+<fieldset><pre>{{question.code}}</pre></fieldset>
+<br />
+Answers Submitted:<br />
<form action="" method="post">
<table cellspacing="5" cellpadding="3">
<tr>