0.11 => 1.0

This commit is contained in:
Markus Unterwaditzer 2015-06-06 03:29:44 +02:00
parent 08ac3aa4e3
commit 2446ca63a8
3 changed files with 3 additions and 3 deletions

View file

@ -159,7 +159,7 @@ class Flask(_PackageBoundObject):
#: The class that is used for the Jinja environment.
#:
#: .. versionadded:: 0.11
#: .. versionadded:: 1.0
jinja_env_class = Environment
#: The class that is used for the :data:`~flask.g` instance.

View file

@ -408,7 +408,7 @@ class Blueprint(_PackageBoundObject):
application-wide function of the :class:`~flask.Flask` object but
for error handlers limited to this blueprint.
.. versionadded:: 0.11
.. versionadded:: 1.0
"""
self.record_once(lambda s: s.app._register_error_handler(
self.name, code_or_exception, f))

View file

@ -113,7 +113,7 @@ class Request(RequestBase):
is considered to include JSON data if the mimetype is
:mimetype:`application/json` or :mimetype:`application/*+json`.
.. versionadded:: 0.11
.. versionadded:: 1.0
"""
mt = self.mimetype
if mt == 'application/json':