mirror of https://github.com/pallets/flask.git
Add Config.from_json to changelog
This commit is contained in:
parent
95a1ce4d6e
commit
97411295e3
1
CHANGES
1
CHANGES
|
@ -17,6 +17,7 @@ Version 1.0
|
||||||
- Made Flask support custom JSON mimetypes for incoming data.
|
- Made Flask support custom JSON mimetypes for incoming data.
|
||||||
- Added support for returning tuples in the form ``(response, headers)``
|
- Added support for returning tuples in the form ``(response, headers)``
|
||||||
from a view function.
|
from a view function.
|
||||||
|
- Added :meth:`flask.Config.from_json`.
|
||||||
|
|
||||||
Version 0.10.2
|
Version 0.10.2
|
||||||
--------------
|
--------------
|
||||||
|
|
|
@ -175,6 +175,8 @@ class Config(dict):
|
||||||
root path.
|
root path.
|
||||||
:param silent: set to `True` if you want silent failure for missing
|
:param silent: set to `True` if you want silent failure for missing
|
||||||
files.
|
files.
|
||||||
|
|
||||||
|
.. versionadded:: 1.0
|
||||||
"""
|
"""
|
||||||
filename = os.path.join(self.root_path, filename)
|
filename = os.path.join(self.root_path, filename)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue