Changeset 7320


Ignore:
Timestamp:
10 Dec 2011, 06:13:25 (13 years ago)
Author:
Henrik Bettermann
Message:

Yes, configuration parameters are attributes of configuration objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/captcha.py

    r7311 r7320  
    2828from zope.interface import Interface
    2929from zope.publisher.interfaces.http import IHTTPRequest
    30 from waeup.sirp.browser import WAeUPPage as SIRPPage
     30from waeup.sirp.browser import SIRPPage
    3131from waeup.sirp.browser.interfaces import (
    3232    ICaptchaRequest, ICaptchaResponse, ICaptcha, ICaptchaConfig,
     
    5858
    5959        Sites can activate a specific captcha by setting
    60         ``site['configuration']['captcha']``. The value should be a
     60        ``site['configuration'].captcha``. The attribute should be a
    6161        string under which the specific captcha is registered.
    6262
    63         If this value cannot be found (or is not set at all) or we are
     63        If this attribute is not set or we are
    6464        not 'in a site', the default captcha is returned.
    6565        """
Note: See TracChangeset for help on using the changeset viewer.