Update config.rst

Fix Debug Default: By default Debug is only True when ENV is 'development'
This commit is contained in:
Vik 2018-04-27 15:37:13 +01:00 committed by GitHub
parent f7ac3a7620
commit ad1ce2721b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ The following configuration values are used internally by Flask:
**Do not enable debug mode when deploying in production.**
Default: ``True`` if :data:`ENV` is ``'production'``, or ``False``
Default: ``True`` if :data:`ENV` is ``'development'``, or ``False``
otherwise.
.. py:data:: TESTING