Fix deprecation warning

flask.ext.babel and flask.ext.wtf have been replaced by flask_babel and
flask_ext.
This commit is contained in:
Jan Dittberner 2017-02-17 11:57:38 +01:00
parent 075d6665ae
commit da2d299e97
5 changed files with 7 additions and 7 deletions

View file

@ -123,8 +123,8 @@ dictionary keys correspond to sections in the ini file. The dictionary values
are dictionaries themselves that contain a special key ``label`` that defines
the label of the section in the output and keys for each entry to be rendered
in that section. The values in these sub-dictionaries are strings marked for
translation using the :py:func:`~flask.ext.babel.lazy_gettext` function from
:py:mod:`flask.ext.babel`.
translation using the :py:func:`~flask_babel.lazy_gettext` function from
:py:mod:`flask_babel`.
The patterns in :file:`portfolio.ini` can contain the following placeholders
that are filled at runtime: