Problem
Dulcinea tools and application objects call get_config_value, but these are not documented - here's a list as of Dulcinea 0.10, which was released on Sept 27 2005.
Solution
Make your own list, in dulcinea dir: grep -REho 'get_config_value\(.*\)' *
Calls made within Dulcinea:
get_config_value('administrator', fallback='', site=site) get_config_value('allow_anonymous_registration') get_config_value('allow_email_login') get_config_value('base_path', fallback='', site=site) get_config_value('cache_size', fallback=default, site=site)) get_config_value('daemon_uid') get_config_value('durus_address', site=site) get_config_value('file_store', '/var/tmp') get_config_value('https_address') get_config_value('live_db', site=site) get_config_value('log_directory') get_config_value('mode', site=site) get_config_value('root_directory', site=site) get_config_value('root_exports', fallback=[], site=site) get_config_value('scgi_off', fallback=[], site=site) get_config_value('tidy_check') get_config_value('var_directory', site=site)
docstring from site_util.py:
{{{def get_config_value(name, fallback=None, site=None):
"""(name:str, fallback:any=None, site:str=None) -> any The site_config module must be provided so that site_config.config is a dictionary whose keys are the site identifiers for your sites, and whose values are dictionaries containing configuration variables for that site. Example site_config.py contents: toboso=dict(
- apache_version=2, httpd="/sw/sbin/httpd",
administrator="You <webmaster@example.org>", allow_anonymous_registration="True", conf_directory="/tmp/toboso/conf", var_directory="/tmp/toboso/var", log_directory="/tmp/toboso/logs", sites_directory="/tmp/toboso/sites", start_script_directory="/sw/bin", daemon_uid="web", servername="127.0.0.1", # comment out the next line if apache should not be started. http_address="127.0.0.1:8000", #https_address="0:443", scgi_address="localhost:1984", durus_address="localhost:2001", root_namespace="toboso.ui.qslash", root_exports=['_q_index', 'css', 'user', 'admin',
- 'login', 'logout', 'my'],
- apache_version=2, httpd="/sw/sbin/httpd",
Discussion
tidy_check is an interesting feature - checks all output for correctness and logs errors, but does not change actual page output to the client.