Merge branch '1.0-maintenance'

This commit is contained in:
David Lord 2019-01-06 15:46:33 -08:00
commit ac6746d1be
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
11 changed files with 173 additions and 162 deletions

View file

@ -156,6 +156,10 @@ class Config(dict):
from yourapplication import default_config
app.config.from_object(default_config)
Nothing is done to the object before loading. If the object is a
class and has ``@property`` attributes, it needs to be
instantiated before being passed to this method.
You should not use this function to load the actual configuration but
rather configuration defaults. The actual config should be loaded
with :meth:`from_pyfile` and ideally from a location not within the