Remove comment about extension backwards compat
0.7 was a long time ago; there's no reason for extension to supports such old versions.
This commit is contained in:
parent
25a5d30311
commit
38eb5d3b49
1 changed files with 1 additions and 6 deletions
|
|
@ -549,12 +549,7 @@ class Flask(_PackageBoundObject):
|
|||
|
||||
#: a place where extensions can store application specific state. For
|
||||
#: example this is where an extension could store database engines and
|
||||
#: similar things. For backwards compatibility extensions should register
|
||||
#: themselves like this::
|
||||
#:
|
||||
#: if not hasattr(app, 'extensions'):
|
||||
#: app.extensions = {}
|
||||
#: app.extensions['extensionname'] = SomeObject()
|
||||
#: similar things.
|
||||
#:
|
||||
#: The key must match the name of the extension module. For example in
|
||||
#: case of a "Flask-Foo" extension in `flask_foo`, the key would be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue