diff --git a/generic/views.py b/generic/views.py index fa490abb..14ea1125 100644 --- a/generic/views.py +++ b/generic/views.py @@ -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()