the JavaScript Array constructor. For this reason, Django does not allow passing non-dict objects to the JsonResponse constructor by default.