diff --git a/longs/views.py b/longs/views.py index c0c42720..4c304c4c 100755 --- a/longs/views.py +++ b/longs/views.py @@ -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: