Commit 58eb2f88 authored by Renfred Harper's avatar Renfred Harper
Browse files

Add pretty printing for API

parent 541c0acc
......@@ -28,6 +28,6 @@ def gen_last_modified(request):
def ajax_schedule_data(request):
# Wrapping up in an object to avoid possible CSRF attack on top-level
# arrays in JSON objects
return HttpResponse(json.dumps({'data': export_data()}),
return HttpResponse(json.dumps({'data': export_data()}, indent=4),
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 to comment