From 9af75546f0b00c92574018498f5979322d10cc4c Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 10 Aug 2011 13:57:30 +0200 Subject: [PATCH] Mention default locations for instance folders --- docs/config.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/config.rst b/docs/config.rst index e1605723..94935a75 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -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.