--- a/event/views.py Thu Jul 01 16:40:24 2010 +0530
+++ b/event/views.py Thu Jul 01 16:44:17 2010 +0530
@@ -215,7 +215,7 @@
try:
q = QuestionBank.objects.get(id=qid)
- except QuestionBank.DoesNotExitst:
+ except QuestionBank.DoesNotExist:
raise Http404
--- a/templates/list_questions.html Thu Jul 01 16:40:24 2010 +0530
+++ b/templates/list_questions.html Thu Jul 01 16:44:17 2010 +0530
@@ -8,7 +8,7 @@
</tr>
{% for question in questions %}
<tr>
-<td><a href="/quiz/questions/ditchax/question.id">{{question.description}}</a></td>
+ <td><a href="/quiz/questions/edit/ditchax/{{question.id}}">{{question.description}}</a></td>
<td>{{question.topic_name}}</td>
</tr>
{% endfor %}