forked from orbit-oss/flask
style cleanup
[ci skip]
This commit is contained in:
parent
0b80acb25c
commit
448368e226
3 changed files with 35 additions and 21 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue