Browse Source

Documented some changes in config handling.

pull/204/head
Armin Ronacher 14 years ago
parent
commit
34a494713c
  1. 1
      CHANGES
  2. 3
      flask/config.py

1
CHANGES

@ -36,6 +36,7 @@ Release date to be announced, codename to be selected
- Use Last-Modified for static file sending instead of Date which - Use Last-Modified for static file sending instead of Date which
was incorrectly introduced in 0.6. was incorrectly introduced in 0.6.
- Added `create_jinja_loader` to override the loader creation process. - Added `create_jinja_loader` to override the loader creation process.
- Implemented a silent flag for `config.from_pyfile`.
Version 0.6.1 Version 0.6.1
------------- -------------

3
flask/config.py

@ -116,6 +116,9 @@ class Config(dict):
root path. root path.
:param silent: set to `True` if you want silent to fail for missing :param silent: set to `True` if you want silent to fail for missing
files. files.
.. versionadded:: 0.7
`silent` parameter.
""" """
filename = os.path.join(self.root_path, filename) filename = os.path.join(self.root_path, filename)
d = imp.new_module('config') d = imp.new_module('config')

Loading…
Cancel
Save