Skip to content
Myr

Remove comment about extension backwards compat

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

0.7 was a long time ago; there's no reason for extension to supports such old versions.

authored by Adrian · committed by GitHub · parent 25a5d30 · Browse files · 1 file+1 added−6 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−6 removed

  • other:+1 added−6 removed

1 file+1 added−6 removed

modified:src/flask/app.py+1 added-6 removed
547 unmodified lines
548 self._blueprint_order = []549550 #: a place where extensions can store application specific state. For551 #: example this is where an extension could store database engines and552 #: similar things. For backwards compatibility extensions should register553 #: themselves like this::552 #: similar things.553 #:555 #: if not hasattr(app, 'extensions'):556 #: app.extensions = {}557 #: app.extensions['extensionname'] = SomeObject()558 #:554 #: The key must match the name of the extension module. For example in555 #: case of a "Flask-Foo" extension in `flask_foo`, the key would be556 #: ``'foo'``.557 #:
1893 unmodified lines