This commit is contained in:
Ross
2021-01-04 14:33:46 +00:00
parent 1afe641931
commit eafe6ea051
3 changed files with 9 additions and 6 deletions
+4
View File
@@ -420,6 +420,10 @@ def mark(request, pk, sk):
# TODO: convert to JSON request
# *******************************
if form.is_valid():
# If skip button is pressed skip the question without marking
if "skip" in request.POST:
return redirect("anatomy:mark", pk=pk, sk=n + 1)
cd = form.cleaned_data
# correct = cd.get("correct")
# half_correct = cd.get("half_correct")