From e0ca9caf5a49981ad999b1c0c3fec69d7c4871e4 Mon Sep 17 00:00:00 2001 From: Minea Salmimaa Date: Sun, 3 Dec 2023 12:44:45 +0200 Subject: Moving quiz related db actions to separete class and file. --- routes/question.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/question.py') 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") -- cgit v1.2.3