CKAN Config in the Database
- Dominant language
- No language data
- Stars
- 39
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
(Original ticket: http://trac.ckan.org/ticket/277.html)
What: move most CKAN config into the database from paster ini files (obviously some info must remain like DB connection but not much else!)
Why?
- Allows non-tech administrators to update config via a web interface (a la wordpress etc)
## Issues / Questions
- python webservers generally load the app once and don't reload. We'd need to trigger a reload of the config
## What's Been Done Already
- think we already have some of this (e.g. you can config site title etc)
---
## Original Proposal - http://trac.ckan.org/ticket/277.html
### Table (Settings / Options)
Columns:
```
[namespace]: ? only if KeyValues? (for settings this would then always be settings)
key
label
value (json)
type (e.g. date and to specify in advance what type should be)
description
tags: ?? (for grouping ...)
```
### Loading settings from DB
Do this in ckan/config/environment.py
### Web Interface
`/ckan-admin/settings`
Show label, plus description plus text field
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.