forked from orbit-oss/flask
fix some warnings while building docs
This commit is contained in:
parent
be2abd2926
commit
317d60307d
3 changed files with 21 additions and 18 deletions
|
|
@ -25,7 +25,7 @@ Version 1.0
|
|||
-----------
|
||||
|
||||
Debugging
|
||||
+++++++++
|
||||
`````````
|
||||
|
||||
Flask 1.0 removed the ``debug_log_format`` attribute from Flask
|
||||
applications. Instead the new ``LOGGER_HANDLER_POLICY`` configuration can
|
||||
|
|
@ -33,7 +33,7 @@ be used to disable the default log handlers and custom log handlers can be
|
|||
set up.
|
||||
|
||||
Error handling
|
||||
++++++++++++++
|
||||
``````````````
|
||||
|
||||
The behavior of error handlers was changed.
|
||||
The precedence of handlers used to be based on the decoration/call order of
|
||||
|
|
@ -53,14 +53,14 @@ Trying to register a handler on an instance now raises :exc:`ValueError`.
|
|||
handlers only using exception classes and HTTP error codes.
|
||||
|
||||
Templating
|
||||
++++++++++
|
||||
``````````
|
||||
|
||||
The :func:`~flask.templating.render_template_string` function has changed to
|
||||
autoescape template variables by default. This better matches the behavior
|
||||
of :func:`~flask.templating.render_template`.
|
||||
|
||||
Extension imports
|
||||
+++++++++++++++++
|
||||
`````````````````
|
||||
|
||||
Extension imports of the form ``flask.ext.foo`` are deprecated, you should use
|
||||
``flask_foo``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue