.
This commit is contained in:
+1
-1
@@ -1111,7 +1111,7 @@ class ExamClone(ExamCloneMixin, ExamCreate):
|
||||
def get_question_by_hash(request):
|
||||
if request.is_ajax() and request.method == "POST":
|
||||
|
||||
hash = json.loads(request.POST.get("hash"))
|
||||
hash = request.POST.get("hash")
|
||||
|
||||
try:
|
||||
question = RapidImage.objects.get(image_md5_hash=hash)
|
||||
|
||||
Reference in New Issue
Block a user