diff options
author | olly <olly@ollycope.com> | 2015-09-08 15:12:15 +0000 |
---|---|---|
committer | olly <olly@ollycope.com> | 2015-09-08 15:12:15 +0000 |
commit | 3f3e3f2d592e6dc3fad88fa814d4e905471d3128 (patch) | |
tree | efd0c35b154c409aeb6aa4c8cf9192e46467dc5f /README.rst | |
parent | 1fe040adcc685c529315b8e5c8bb36fe3cc5c059 (diff) | |
download | yoyo-3f3e3f2d592e6dc3fad88fa814d4e905471d3128.tar.gz |
Fix config file inheritance example in README
Diffstat (limited to 'README.rst')
-rwxr-xr-x | README.rst | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -174,7 +174,13 @@ Config file inheritance may be used to customize configuration per site:: # file: yoyo.ini # [DEFAULT] - %inherit %(here)s/yoyo-defaults.ini + + ; Inherit settings from yoyo-defaults.ini + %inherit = %(here)s/yoyo-defaults.ini + + ; Use '?' to avoid raising an error if the file does not exist + %inherit = ?%(here)s/yoyo-defaults.ini + database = sqlite:///%(here)s/mydb.sqlite |