Skip to content
Myr

Add Config.get_namespace to CHANGES

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Neuhäuser · committed by Daniel Neuhäuser · parent ba80e1e · Browse files · 2 files+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−0 removed

  • other:+3 added−0 removed

2 files+3 added−0 removed

modified:flask/config.py+2 added
214 unmodified lines
215216 :param namespace: a configuration namespace217 :param lowercase: a flag indicating if the keys of the resulting218 dictionary should be lowercase219220 .. versionadded:: 1.0221 """222 rv = {}223 for k, v in iteritems(self):224 if not k.startswith(namespace):
9 unmodified lines
modified:CHANGES+1 added
17 unmodified lines
18- Added support for returning tuples in the form ``(response, headers)``19 from a view function.20- Added :meth:`flask.Config.from_json`.21- Added :attr:`flask.Flask.config_class`.22- Added :meth:`flask.config.Config.get_namespace`.2324Version 0.10.225--------------26
478 unmodified lines