Browse Source

Add additional note about configuration loading

Peter Justin 4 years ago
parent
commit
2d5a5f40b8
1 changed files with 2 additions and 0 deletions
  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
                    For example, if the config is specified via an file
                    and a ENVVAR, it will load the config via the file and
                    and a ENVVAR, it will load the config via the file and
                    later overwrite it from the ENVVAR.
                    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(
     app = Flask(