Some small doc fixes

This commit is contained in:
Armin Ronacher 2020-07-08 15:53:43 +02:00
parent cf5b1d0283
commit 4a1acc8b5f
2 changed files with 4 additions and 3 deletions

View file

@ -181,8 +181,8 @@ construction of progress bar.
Because the common pattern for file uploads exists almost unchanged in all
applications dealing with uploads, there is also a Flask extension called
`Flask-Uploads`_ that implements a full fledged upload mechanism with white and
blacklisting of extensions and more.
`Flask-Uploads`_ that implements a full fledged upload mechanism that
allows controlling with file extensions are allowed to be uploaded.
.. _jQuery: https://jquery.com/
.. _Flask-Uploads: https://flask-uploads.readthedocs.io/en/latest/

View file

@ -437,7 +437,8 @@ def get_flashed_messages(with_categories=False, category_filter=()):
`category_filter` parameter added.
:param with_categories: set to ``True`` to also receive categories.
:param category_filter: whitelist of categories to limit return values
:param category_filter: filter of categories to limit return values. Only
categories in the list will be returned.
"""
flashes = _request_ctx_stack.top.flashes
if flashes is None: