Skip to content

Commit

Permalink
Do not suggest deprecated flask.ext.*
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed Jan 10, 2017
1 parent 09973a7 commit 88111ae
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docs/extensiondev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ be something like "Flask-SimpleXML". Make sure to include the name
This is how users can then register dependencies to your extension in
their :file:`setup.py` files.

Flask sets up a redirect package called :data:`flask.ext` where users
should import the extensions from. If you for instance have a package
called ``flask_something`` users would import it as
``flask.ext.something``. This is done to transition from the old
namespace packages. See :ref:`ext-import-transition` for more details.

But what do extensions look like themselves? An extension has to ensure
that it works with multiple Flask application instances at once. This is
a requirement because many people will use patterns like the
Expand Down Expand Up @@ -393,8 +387,6 @@ extension to be approved you have to follow these guidelines:
Python 2.7


.. _ext-import-transition:

Extension Import Transition
---------------------------

Expand Down

0 comments on commit 88111ae

Please sign in to comment.