.
This commit is contained in:
+1
-1
@@ -1022,7 +1022,7 @@ class UserAnswerDelete(SuperuserRequiredMixin, DeleteView):
|
||||
@user_passes_test(lambda u: u.is_superuser)
|
||||
def user_answer_delete_multiple(request):
|
||||
if request.is_ajax():
|
||||
answer_ids = json.load(request.POST["answer_ids"])
|
||||
answer_ids = json.loads(request.POST["answer_ids"])
|
||||
|
||||
# We could probably delete them all at once....
|
||||
for id in answer_ids:
|
||||
|
||||
Reference in New Issue
Block a user