Commit 6c270d6b by Bence Dányi

firewall_gui: minify json response

parent 676ff916
......@@ -48,5 +48,5 @@ def list_rules(request):
'accept': rule.accept,
'description': rule.description,
} for rule in Rule.objects.all()]
return HttpResponse(json.dumps(rules, indent=2), content_type="application/json")
return HttpResponse(json.dumps(rules), content_type="application/json")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment