rewrite extension docs
remove old extension patterns remove flask.ext from api docs
This commit is contained in:
parent
cc6c618f4d
commit
4462cc57c8
3 changed files with 43 additions and 130 deletions
16
docs/api.rst
16
docs/api.rst
|
|
@ -370,22 +370,6 @@ Configuration
|
|||
.. autoclass:: Config
|
||||
:members:
|
||||
|
||||
Extensions
|
||||
----------
|
||||
|
||||
.. data:: flask.ext
|
||||
|
||||
This module acts as redirect import module to Flask extensions. It was
|
||||
added in 0.8 as the canonical way to import Flask extensions and makes
|
||||
it possible for us to have more flexibility in how we distribute
|
||||
extensions.
|
||||
|
||||
If you want to use an extension named “Flask-Foo” you would import it
|
||||
from :data:`~flask.ext` as follows::
|
||||
|
||||
from flask.ext import foo
|
||||
|
||||
.. versionadded:: 0.8
|
||||
|
||||
Stream Helpers
|
||||
--------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue