This commit is contained in:
Ross
2021-12-12 00:05:25 +00:00
parent 7b2a87b216
commit 585e409d43
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -954,7 +954,7 @@ class CidUserView(LoginRequiredMixin, SingleTableMixin, FilterView):
def create_cid_users(request):
if request.is_ajax() and request.method == "POST":
number = int(request.POST.get("number"))
physics_exams = request.POST.get("physics_exams")
physics_exams = json.loads(request.POST.get("physics_exams"))
print(f"{physics_exams=}")
new_cid = max(CidUser.objects.all().order_by("-cid")[0].cid + 1, 50000)