style cleanup

[ci skip]
This commit is contained in:
David Lord 2017-06-16 06:59:37 -07:00
parent 0b80acb25c
commit 448368e226
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 35 additions and 21 deletions

View file

@ -25,12 +25,12 @@ your Flask application's :attr:`Flask.cli` instance as well as some
built-in commands that are always there. Flask extensions can also
register more commands there if they desire so.
For the :command:`flask` script to work, an application needs to be
discovered. Flask looks for a module named wsgi.py or app.py by default, and
if it finds one it assumes the application is defined in it.
For the :command:`flask` script to work, an application needs to be discovered.
Flask looks for a module named :file:`wsgi.py` or :file:`app.py` by default,
and if it finds one it assumes the application is defined in it.
You can instruct Flask to look for the application in a different module by
exporting the ``FLASK_APP`` environment variable. It can be either set to an
exporting the ``FLASK_APP`` environment variable. It can be either set to an
import path or to a filename of a Python module that contains a Flask
application.