Browse Source

Add Config.from_json to changelog

pull/980/head
Daniel Neuhäuser 11 years ago
parent
commit
97411295e3
  1. 1
      CHANGES
  2. 2
      flask/config.py

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
-------------- --------------

2
flask/config.py

@ -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…
Cancel
Save