diff -r 79ae8288b5ff -r 76971eed55c6 event/views.py --- 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 + + +