diff options
author | Minea Salmimaa <msalmima@local> | 2023-12-03 12:44:45 +0200 |
---|---|---|
committer | Minea Salmimaa <msalmima@local> | 2023-12-03 12:44:45 +0200 |
commit | e0ca9caf5a49981ad999b1c0c3fec69d7c4871e4 (patch) | |
tree | 6402666bec2999dda0e1e7460b91b21e17310479 /routes/question.py | |
parent | 7353c51df2d074cbe01913044bda7aeef62a31b7 (diff) |
Moving quiz related db actions to separete class and file.
Diffstat (limited to 'routes/question.py')
-rw-r--r-- | routes/question.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/question.py b/routes/question.py index 41722d5..9ddb527 100644 --- a/routes/question.py +++ b/routes/question.py @@ -46,7 +46,7 @@ def new_question(): return redirect("/#question") question_id = D.question_new( question, neg_ans, pos_ans ) - D.quiz_add(qid, question_id) + D.quiz.add(qid, question_id) D.answer_new(sid, question_id, answer) return redirect("/#create") |