Changeset caac8dd


Ignore:
Timestamp:
05/27/11 16:26:34 (2 years ago)
Author:
Tomas Edwardsson <tommi@…>
Branches:
master
Children:
66fc4db
Parents:
8966ff6
git-author:
Tomas Edwardsson <tommi@…> (05/27/11 16:26:34)
git-committer:
Tomas Edwardsson <tommi@…> (05/27/11 16:26:34)
Message:

Made the json returned by serializer more readable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • adagios/configurator/views.py

    r99e2774 rcaac8dd  
    128128                return render_to_response('configurator/api/host.html', data) 
    129129        elif ext == 'json': 
    130                 string = json.dumps(data) 
     130                string = json.dumps(data, sort_keys=True, indent=4) 
    131131                mime_type = 'application/json' 
    132132        else: 
Note: See TracChangeset for help on using the changeset viewer.