[Welcome] [TitleIndex] [WordIndex

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):

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.


CategoryCookbook


2010-09-22 22:14