Module Expr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list
N/A N/A This module defines a registry of settings.

See :class:`morepath.directive.SettingRegistry`
 SettingRegistry N/A object N/A N/A Registry of settings.

    Used by the :class:`morepath.App.setting` directive and
    :class:`morepath.App.setting_section` directives.

    Stores sections as attributes, which then have the settings as
    attributes.

    This settings registry is exposed through
    :attr:`morepath.App.settings` as well as the
    :func:`morepath.settings` function.
     register_setting N/A N/A self section_name setting_name func N/A N/A N/A Register a setting.

        :param section_name: name of section to register in
        :param setting_name: name of setting
        :param func: function that when called without arguments
          creates the setting value.
         N/A section N/A getattr self section_name None N/A N/A section None N/A N/A section N/A SettingSection N/A N/A setattr self section_name section N/A N/A setattr section setting_name N/A func N/A N/A SettingSection N/A object N/A N/A A setting section that contains setting.
     N/A N/A