.
This commit is contained in:
+2
-2
@@ -55,9 +55,9 @@ def get_question_and_content_type(question_type):
|
|||||||
elif question_type == "long":
|
elif question_type == "long":
|
||||||
question = LongQuestion
|
question = LongQuestion
|
||||||
content_type = ContentType.objects.get(model="long")
|
content_type = ContentType.objects.get(model="long")
|
||||||
elif question_type == "sba":
|
elif question_type == "sbas":
|
||||||
question = SbasQuestion
|
question = SbasQuestion
|
||||||
content_type = ContentType.objects.get(model="sba")
|
content_type = ContentType.objects.get(model="sbas")
|
||||||
else:
|
else:
|
||||||
raise PermissionError()
|
raise PermissionError()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user