Skip to content
Myr

Docs: fix some typos in config.rst

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by garenchan · committed by David Lord · parent 914a033 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:docs/config.rst+3 added-3 removed
299 unmodified lines
300.. py:data:: JSON_AS_ASCII301302 Serialize objects to ASCII-encoded JSON. If this is disabled, the JSON303 will be returned as a Unicode string, or encoded as ``UTF-8`` by304 ``jsonify``. This has security implications when rendering the JSON in305 to JavaScript in templates, and should typically remain enabled.304 ``jsonify``. This has security implications when rendering the JSON into305 JavaScript in templates, and should typically remain enabled.306307 Default: ``True``308309.. py:data:: JSON_SORT_KEYS
363 unmodified lines
673674 app = Flask(__name__, instance_relative_config=True)675676Here is a full example of how to configure Flask to preload the config677from a module and then override the config from a file in the config677from a module and then override the config from a file in the instance678folder if it exists::679680 app = Flask(__name__, instance_relative_config=True)681 app.config.from_object('yourapplication.default_settings')
15 unmodified lines