Skip to content
Myr

Changing instance_root to instance_path

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

authored by Cory Li · committed by Cory Li · parent eb6a244 · 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