forked from p15670423/monkey
Set flask config 'JSON_SORT_KEYS' to false
This commit is contained in:
parent
c59be36909
commit
f6e362b1c8
|
@ -143,6 +143,7 @@ def init_api_resources(api):
|
||||||
|
|
||||||
def init_app(mongo_url):
|
def init_app(mongo_url):
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
app.config['JSON_SORT_KEYS'] = False
|
||||||
|
|
||||||
api = flask_restful.Api(app)
|
api = flask_restful.Api(app)
|
||||||
api.representations = {'application/json': output_json}
|
api.representations = {'application/json': output_json}
|
||||||
|
|
Loading…
Reference in New Issue