Skip to content
Myr

Merge pull request #891 from ThiefMaster/docs-flaskext

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

Don't refer to flaskext in app.extensions docs

authored by Daniel Neuhäuser · committed by Daniel Neuhäuser · parents 4212e67, 46b5754 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:flask/app.py+2 added-2 removed
468 unmodified lines
469 #: if not hasattr(app, 'extensions'):470 #: app.extensions = {}471 #: app.extensions['extensionname'] = SomeObject()472 #:473 #: The key must match the name of the `flaskext` module. For example in474 #: case of a "Flask-Foo" extension in `flaskext.foo`, the key would be473 #: The key must match the name of the extension module. For example in474 #: case of a "Flask-Foo" extension in `flask_foo`, the key would be475 #: ``'foo'``.476 #:477 #: .. versionadded:: 0.7478 self.extensions = {}
1362 unmodified lines