changeset 39 | 0fa055b8ea98 |
parent 33 | d28d0957a5ab |
--- a/quiz/views.py Wed Apr 21 19:52:51 2010 +0530 +++ b/quiz/views.py Wed Apr 21 21:53:33 2010 +0530 @@ -161,7 +161,7 @@ except MultiValueDictKeyError: answer = "" new_answer = Answer(question=question) - new_answer.submitted_ans = answer + new_answer.submitted_ans = answer.strip() new_answer.save() quiz.que_answered.add(new_answer)