From 732ce83795390074f5ade4ebf44b25e164d292fd Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 5 Feb 2014 17:05:06 -0500 Subject: [PATCH] Move JSON pretty print config flag to the proper place --- application.py | 3 --- config.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/application.py b/application.py index f15925b7e..5cfb29108 100644 --- a/application.py +++ b/application.py @@ -4,9 +4,6 @@ import os from app import app as application from data.model import db as model_db -# Turn off pretty printing of JSON responses since it can break Docker. -application.config['JSONIFY_PRETTYPRINT_REGULAR'] = False - # Initialize logging application.config['LOGGING_CONFIG']() diff --git a/config.py b/config.py index f9837357c..bf5afb96d 100644 --- a/config.py +++ b/config.py @@ -14,7 +14,7 @@ from test import analytics as fake_analytics class FlaskConfig(object): SECRET_KEY = '1cb18882-6d12-440d-a4cc-b7430fb5f884' - + JSONIFY_PRETTYPRINT_REGULAR = False class FlaskProdConfig(FlaskConfig): SESSION_COOKIE_SECURE = True