diff options
Diffstat (limited to 'sample_questions.py')
-rw-r--r-- | sample_questions.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sample_questions.py b/sample_questions.py index 76d64c7..c77eb9d 100644 --- a/sample_questions.py +++ b/sample_questions.py @@ -1,4 +1,4 @@ -from exam.models import Question +from datetime import date questions = [ Question( @@ -23,4 +23,9 @@ import math assert sqr(3) == 9 assert abs(sqr(math.sqrt(2)) - 2.0) < 1e-14 '''), -]
\ No newline at end of file +] + +quiz = Quiz(start_date=date.today(), + duration=10, + description='Basic Python Quiz 1' + ) |