it's spelled relengapi, dammit
This commit is contained in:
Родитель
8c34b13ae4
Коммит
044b476ef3
|
@ -1,4 +1,4 @@
|
|||
releng_api.egg-info/
|
||||
relengapi.egg-info/
|
||||
*.pyc
|
||||
*.egg-info
|
||||
TODO.txt
|
||||
|
|
|
@ -17,7 +17,7 @@ relengapi.browser_id = BrowserID()
|
|||
|
||||
def create_app(cmdline=False):
|
||||
app = Flask(__name__)
|
||||
app.config.from_envvar('RELENG_API_SETTINGS')
|
||||
app.config.from_envvar('RELENGAPI_SETTINGS')
|
||||
|
||||
# get blueprints from pkg_resources
|
||||
for ep in pkg_resources.iter_entry_points('relengapi_blueprints'):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Application Configuration
|
||||
=========================
|
||||
|
||||
Releng API Configuration should be stored in a file pointed to by the ``RELENG_API_SETTINGS`` variable.
|
||||
Releng API Configuration should be stored in a file pointed to by the ``RELENGAPI_SETTINGS`` variable.
|
||||
|
||||
This is a typical Flask configuration file: a Python file from which any uppercase variables are extracted as configuration parameters.
|
||||
For example::
|
||||
|
|
Загрузка…
Ссылка в новой задаче