File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,3 +40,4 @@ nosetests.xml
4040coverage.xml
4141.noseids
4242* . * ~
43+ config.py
Original file line number Diff line number Diff line change @@ -69,23 +69,23 @@ def setup_logger():
6969APP = Flask (__name__ )
7070
7171#: Load configuration from any possible means.
72- #: To override default configuration defined in ``users.config ``,
72+ #: To override default configuration defined in ``users.default_config ``,
7373#: simply copy the contents of ``config.py`` file,
7474#: and save it into a file.
7575#:
7676#: .. sourcecode:: sh
7777#:
78- #: USERS_CONFIG=/path/to/config.py python runserver
78+ #: USERS_CONFIG=/path/to/config.py python runserver.py
7979#:
8080#: Another way of doing it is by setting environment variable for each
8181#: config item.
8282#:
8383#: .. sourcecode:: sh
8484#:
8585#: USERS_CONFIG=/path/to/config.py USERS_MAIL_SUPPRESS_SEND=True \
86- #: python runserver
86+ #: python runserver.py
8787#:
88- AppConfig (APP , default_settings = "users.config " )
88+ AppConfig (APP , default_settings = "users.default_config " )
8989
9090mail = Mail (APP )
9191
File renamed without changes.
You can’t perform that action at this time.
0 commit comments