start migrating from DRF to ninja
This commit is contained in:
+2
-2
@@ -195,10 +195,10 @@ def generic_exam_json_edit(request):
|
||||
if request.method == "POST":
|
||||
question_type = request.POST.get("type")
|
||||
|
||||
if question_type == "rapid":
|
||||
if question_type == "rapids":
|
||||
Exam = RapidExam
|
||||
Question = RapidQuestion
|
||||
elif question_type == "long":
|
||||
elif question_type == "longs":
|
||||
Exam = LongExam
|
||||
Question = LongQuestion
|
||||
elif question_type == "anatomy":
|
||||
|
||||
Reference in New Issue
Block a user