json serialize
This commit is contained in:
parent
00ad51bb78
commit
43e8890d7f
@ -57,4 +57,4 @@ def get_config(request):
|
|||||||
config = Config.objects.filter(stage=stage, project__name=project, name=name).first()
|
config = Config.objects.filter(stage=stage, project__name=project, name=name).first()
|
||||||
if config is None:
|
if config is None:
|
||||||
return HttpResponse('', status=404)
|
return HttpResponse('', status=404)
|
||||||
return JsonResponse(config.data)
|
return JsonResponse(config.data, safe=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user