Make sort_keys True to avoid hash randomize feature in Python 3.
This commit is contained in:
parent
20238f54a6
commit
6fa9782415
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user