Permalink
Browse files

Documented some changes in config handling.

  • Loading branch information...
1 parent fa98177 commit 34a494713c085926d023f8e8f9cf6f0c40bab660 @mitsuhiko mitsuhiko committed Mar 14, 2011
Showing with 4 additions and 0 deletions.
  1. +1 −0 CHANGES
  2. +3 −0 flask/config.py
View
@@ -36,6 +36,7 @@ Release date to be announced, codename to be selected
- Use Last-Modified for static file sending instead of Date which
was incorrectly introduced in 0.6.
- Added `create_jinja_loader` to override the loader creation process.
+- Implemented a silent flag for `config.from_pyfile`.
Version 0.6.1
-------------
View
@@ -116,6 +116,9 @@ def from_pyfile(self, filename, silent=False):
root path.
:param silent: set to `True` if you want silent to fail for missing
files.
+
+ .. versionadded:: 0.7
+ `silent` parameter.
"""
filename = os.path.join(self.root_path, filename)
d = imp.new_module('config')

0 comments on commit 34a4947

Please sign in to comment.