Skip to content

Commit

Permalink
Mention default locations for instance folders
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Aug 10, 2011
1 parent 187cb80 commit 9af7554
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/config.rst
Expand Up @@ -294,7 +294,18 @@ control system it's called ``instance`` and placed directly next to your
package or module by default. This path can be overridden by specifying
the `instance_path` parameter to your application::

app = Flask(__name__, instance_path='/path/to/instance')
app = Flask(__name__, instance_path='/path/to/instance/folder')

Default locations::

Module situation:
/myapp.py
/instance

Package situation:
/myapp
/__init__.py
/instance

Please keep in mind that this path *must* be absolute when provided.

Expand Down

0 comments on commit 9af7554

Please sign in to comment.