if submission.key != key:
return render(request, 'wtem/key_not_found_before.html')
else:
+ submission.opened_link = True
+ submission.save()
return render(request, 'wtem/main_before.html')
if submission.key != key:
return render(request, 'wtem/key_not_found.html')
+ submission.opened_link = True
+ submission.save()
+
i, exercise = submission.current_exercise()
if not exercise:
return render(request, 'wtem/thanks_single.html')