Skip to content
Myr

Merge pull request #342 from Cixelyn/master

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

Config documentation "instance_root" -> "instance_path"

authored by Ron DuPlain · committed by Ron DuPlain · parents eb6a244, e4d9ccd · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/config.rst+1 added-1 removed
373 unmodified lines
374file from the instance folder with :meth:`Flask.open_instance_resource`.375376Example usage for both::377378 filename = os.path.join(app.instance_root, 'application.cfg')378 filename = os.path.join(app.instance_path, 'application.cfg')379 with open(filename) as f:380 config = f.read()381382 # or via open_instance_resource:
2 unmodified lines