Skip to content

Commit fb07d42

Browse files
committed
rename config.py to default_config.py and ignore custom config.py
1 parent c9b204c commit fb07d42

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ nosetests.xml
4040
coverage.xml
4141
.noseids
4242
*.*~
43+
config.py

users/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,23 @@ def setup_logger():
6969
APP = 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

9090
mail = Mail(APP)
9191

File renamed without changes.

0 commit comments

Comments
 (0)