Просмотр исходного кода

Add additional note about configuration loading

Peter Justin 4 лет назад
Родитель
Сommit
2d5a5f40b8
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      flaskbb/app.py

+ 2 - 0
flaskbb/app.py

@@ -78,6 +78,8 @@ def create_app(config=None, instance_path=None):
                    For example, if the config is specified via an file
                    and a ENVVAR, it will load the config via the file and
                    later overwrite it from the ENVVAR.
+                   If no config is provided, FlaskBB will try to load the
+                   config named ``flaskbb.cfg`` from the instance path.
     """
 
     app = Flask(