diff options
author | Prabhu Ramachandran | 2011-11-14 17:17:05 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-14 17:17:05 +0530 |
commit | 544ccd076a4115e4870429e921ccec4a40c599bc (patch) | |
tree | 232e6b4d253c319073560dd8f59f08d4dfbb5d96 /exam | |
parent | a12d6bd09e6a87b266686bd3045c78333f61ec7c (diff) | |
download | online_test-544ccd076a4115e4870429e921ccec4a40c599bc.tar.gz online_test-544ccd076a4115e4870429e921ccec4a40c599bc.tar.bz2 online_test-544ccd076a4115e4870429e921ccec4a40c599bc.zip |
Showing all questions instead of only 3.
Diffstat (limited to 'exam')
-rw-r--r-- | exam/views.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/exam/views.py b/exam/views.py index e6c9b55..7330197 100644 --- a/exam/views.py +++ b/exam/views.py @@ -113,7 +113,6 @@ def start(request): questions = [ str(_.id) for _ in Question.objects.all() ] random.shuffle(questions) - questions = questions[:3] new_quiz.questions = "|".join(questions) new_quiz.save() |