From dce4ad6c6eefd00e33ea9bb6c9aae2fd9a6cc833 Mon Sep 17 00:00:00 2001 From: garenchan <1412950785@qq.com> Date: Fri, 21 Sep 2018 21:43:23 +0800 Subject: [PATCH] Docs: fix some typos in config.rst --- docs/config.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/config.rst b/docs/config.rst index 8e2dc0af..36b4a568 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -301,8 +301,8 @@ The following configuration values are used internally by Flask: Serialize objects to ASCII-encoded JSON. If this is disabled, the JSON will be returned as a Unicode string, or encoded as ``UTF-8`` by - ``jsonify``. This has security implications when rendering the JSON in - to JavaScript in templates, and should typically remain enabled. + ``jsonify``. This has security implications when rendering the JSON into + JavaScript in templates, and should typically remain enabled. Default: ``True`` @@ -636,7 +636,7 @@ root” (the default) to “relative to instance folder” via the app = Flask(__name__, instance_relative_config=True) Here is a full example of how to configure Flask to preload the config -from a module and then override the config from a file in the config +from a module and then override the config from a file in the instance folder if it exists:: app = Flask(__name__, instance_relative_config=True)