From 43e8890d7f2d657fd3b0e4ef91d00f6deabf01cb Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 30 Sep 2023 09:51:43 +0300 Subject: [PATCH] json serialize --- configs/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/views.py b/configs/views.py index 4d2b348..b72934d 100644 --- a/configs/views.py +++ b/configs/views.py @@ -57,4 +57,4 @@ def get_config(request): config = Config.objects.filter(stage=stage, project__name=project, name=name).first() if config is None: return HttpResponse('', status=404) - return JsonResponse(config.data) + return JsonResponse(config.data, safe=False)