changeset 83 | 76971eed55c6 |
parent 81 | 848c009b8a60 |
child 84 | 08af9e4ada78 |
--- a/event/views.py Thu Jul 01 16:28:46 2010 +0530 +++ b/event/views.py Thu Jul 01 16:40:24 2010 +0530 @@ -209,3 +209,14 @@ question.topic_name = topic_num2name[question.topic] return render_to_response("list_questions.html", {"questions":questions}) +def edit_question(request, qid): + """ Show the question and then edit it. + """ + + try: + q = QuestionBank.objects.get(id=qid) + except QuestionBank.DoesNotExitst: + raise Http404 + + +