.
This commit is contained in:
@@ -262,7 +262,7 @@ table.table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rapid-img {
|
.rapid-img {
|
||||||
width: 50%;
|
width: 300px;
|
||||||
height: 300px;
|
height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -47,6 +47,8 @@ from .decorators import user_is_author_or_rapid_checker
|
|||||||
|
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
|
||||||
|
from django.core.cache import cache
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
from django.forms.models import model_to_dict
|
from django.forms.models import model_to_dict
|
||||||
@@ -814,8 +816,6 @@ def exam_json(request, pk):
|
|||||||
exam_order.append(q.id)
|
exam_order.append(q.id)
|
||||||
|
|
||||||
exam_questions[q.id] = {
|
exam_questions[q.id] = {
|
||||||
"title": "{}".format(q.description),
|
|
||||||
"question": str(q.question_type),
|
|
||||||
"images": [image_as_base64(q.image)],
|
"images": [image_as_base64(q.image)],
|
||||||
"annotations": [str(q.image_annotations)],
|
"annotations": [str(q.image_annotations)],
|
||||||
"type": "rapid",
|
"type": "rapid",
|
||||||
|
|||||||
Reference in New Issue
Block a user