Make sort_keys True to avoid hash randomize feature in Python 3.

This commit is contained in:
Berker Peksag 2014-08-04 22:06:40 +03:00
parent 20238f54a6
commit 6fa9782415

View File

@ -104,7 +104,7 @@ def api_test(request):
# TODO: This is the *only* thing using Response() here, should that
# not simply use json_response()?
return Response(json.dumps(user_data))
return Response(json.dumps(user_data, sort_keys=True))
def get_entries(request):