[ckan-changes] [ckan/ckan] 8ccc6b: [#2429] Add action to update config options
GitHub
noreply at github.com
Tue May 19 13:32:57 UTC 2015
Branch: refs/heads/2429-remote-config
Home: https://github.com/ckan/ckan
Commit: 8ccc6b2553b59db8fab601392dfe578e20a61d62
https://github.com/ckan/ckan/commit/8ccc6b2553b59db8fab601392dfe578e20a61d62
Author: amercader <amercadero at gmail.com>
Date: 2015-05-19 (Tue, 19 May 2015)
Changed paths:
M ckan/logic/action/update.py
M ckan/logic/auth/update.py
M ckan/logic/schema.py
Log Message:
-----------
[#2429] Add action to update config options
`config_option_update` takes arbitrary key, value pairs and checks the
keys against a config options update schema. If some of the provided
keys are not present in the schema a ValidationError is raised. If
validation is passed, then for each key, value config option:
* It is stored on the `system_info` database table
* The `app_globals` (`g`) object is updated (this is used on templates)
* The Pylons `config` object is updated.
Returns the options set
More information about the ckan-changes
mailing list