Browse Source

Add Config.get_namespace to CHANGES

pull/1003/head
Daniel Neuhäuser 11 years ago
parent
commit
06857c9ba5
  1. 1
      CHANGES
  2. 2
      flask/config.py

1
CHANGES

@ -19,6 +19,7 @@ Version 1.0
from a view function.
- Added :meth:`flask.Config.from_json`.
- Added :attr:`flask.Flask.config_class`.
- Added :meth:`flask.config.Config.get_namespace`.
Version 0.10.2
--------------

2
flask/config.py

@ -216,6 +216,8 @@ class Config(dict):
:param namespace: a configuration namespace
:param lowercase: a flag indicating if the keys of the resulting
dictionary should be lowercase
.. versionadded:: 1.0
"""
rv = {}
for k, v in iteritems(self):

Loading…
Cancel
Save