forked from orbit-oss/flask
Some small doc fixes
This commit is contained in:
parent
cf5b1d0283
commit
4a1acc8b5f
2 changed files with 4 additions and 3 deletions
|
|
@ -181,8 +181,8 @@ construction of progress bar.
|
||||||
|
|
||||||
Because the common pattern for file uploads exists almost unchanged in all
|
Because the common pattern for file uploads exists almost unchanged in all
|
||||||
applications dealing with uploads, there is also a Flask extension called
|
applications dealing with uploads, there is also a Flask extension called
|
||||||
`Flask-Uploads`_ that implements a full fledged upload mechanism with white and
|
`Flask-Uploads`_ that implements a full fledged upload mechanism that
|
||||||
blacklisting of extensions and more.
|
allows controlling with file extensions are allowed to be uploaded.
|
||||||
|
|
||||||
.. _jQuery: https://jquery.com/
|
.. _jQuery: https://jquery.com/
|
||||||
.. _Flask-Uploads: https://flask-uploads.readthedocs.io/en/latest/
|
.. _Flask-Uploads: https://flask-uploads.readthedocs.io/en/latest/
|
||||||
|
|
|
||||||
|
|
@ -437,7 +437,8 @@ def get_flashed_messages(with_categories=False, category_filter=()):
|
||||||
`category_filter` parameter added.
|
`category_filter` parameter added.
|
||||||
|
|
||||||
:param with_categories: set to ``True`` to also receive categories.
|
: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
|
flashes = _request_ctx_stack.top.flashes
|
||||||
if flashes is None:
|
if flashes is None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue