forked from orbit-oss/flask
use theme provided by pallets-sphinx-themes
This commit is contained in:
parent
3a0ea726bd
commit
49a38ed999
25 changed files with 205 additions and 605 deletions
|
|
@ -243,7 +243,7 @@ def locate_app(script_info, module_name, app_name, raise_if_not_found=True):
|
|||
)
|
||||
elif raise_if_not_found:
|
||||
raise NoAppException(
|
||||
'Could not import "{name}"."'.format(name=module_name)
|
||||
'Could not import "{name}".'.format(name=module_name)
|
||||
)
|
||||
else:
|
||||
return
|
||||
|
|
|
|||
|
|
@ -486,7 +486,7 @@ def send_file(filename_or_fp, mimetype=None, as_attachment=False,
|
|||
The `attachment_filename` is preferred over `filename` for MIME-type
|
||||
detection.
|
||||
|
||||
.. versionchanged:: 0.13
|
||||
.. versionchanged:: 1.0
|
||||
UTF-8 filenames, as specified in `RFC 2231`_, are supported.
|
||||
|
||||
.. _RFC 2231: https://tools.ietf.org/html/rfc2231#section-4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue