json serialize
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user