Skip to content
Myr

Mention default locations for instance folders

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 187cb80 · Browse files · 1 file+12 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+12 added−1 removed

  • other:+12 added−1 removed

1 file+12 added−1 removed

modified:docs/config.rst+12 added-1 removed
292 unmodified lines
293control system it's called ``instance`` and placed directly next to your294package or module by default. This path can be overridden by specifying295the `instance_path` parameter to your application::296297 app = Flask(__name__, instance_path='/path/to/instance')297 app = Flask(__name__, instance_path='/path/to/instance/folder')298299Default locations::300301 Module situation:302 /myapp.py303 /instance304305 Package situation:306 /myapp307 /__init__.py308 /instance309310Please keep in mind that this path *must* be absolute when provided.311312Since the config object provided loading of configuration files from313relative filenames we made it possible to change the loading via filenames
28 unmodified lines