This commit is contained in:
Ross
2021-09-13 08:49:35 +01:00
parent bc91259ae4
commit 62526153aa
+2 -2
View File
@@ -55,9 +55,9 @@ def get_question_and_content_type(question_type):
elif question_type == "long":
question = LongQuestion
content_type = ContentType.objects.get(model="long")
elif question_type == "sba":
elif question_type == "sbas":
question = SbasQuestion
content_type = ContentType.objects.get(model="sba")
content_type = ContentType.objects.get(model="sbas")
else:
raise PermissionError()