Ignore:
Timestamp:
Jun 7, 2010 5:30:04 PM (14 years ago)
Author:
mylan
Message:

#194: Fix configuration conflict error on including quintagroup.formlib.captcha zcml slug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecaptchas/branches/plone4/quintagroup/plonecaptchas/browser/register.py

    r2503 r2505  
    2222        if len(ffields): 
    2323            ffields = ffields + form.Fields(CaptchaSchema) 
     24            # XXX: Because of raising ConfigurationConflictError when include 
     25            # configure.zcml slug of quintagroup.formlib.captcha, we must 
     26            # explicytly define custom CaptchaWidget widget for Captcha field. 
    2427            ffields["captcha"].custom_widget = CaptchaWidget 
    2528        return ffields 
Note: See TracChangeset for help on using the changeset viewer.