Changeset 2095 in products


Ignore:
Timestamp:
Apr 8, 2010 4:11:58 PM (14 years ago)
Author:
mylan
Message:

#174: updated dependency order, make Captcha{Field,Widget,Validator} importable directly from the package root

Location:
quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/__init__.py

    r2085 r2095  
    55from config import ADD_PERMISSION 
    66 
     7from field import CaptchaField 
     8from widget import CaptchaWidget 
     9from validator import CaptchaValidator 
     10 
    711def initialize(context): 
    8  
    9     import field 
    10     import validator 
    1112 
    1213    content_types, constructors, ftis = process_types(listTypes(PROJECTNAME), PROJECTNAME) 
  • quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/profiles/default/metadata.xml

    r2089 r2095  
    33  <version>0.2.2</version> 
    44  <dependencies> 
     5    <dependency>profile-Products.PloneFormGen:default</dependency> 
    56    <dependency>profile-quintagroup.captcha.core:default</dependency> 
    6     <dependency>profile-Products.PloneFormGen:default</dependency> 
    77  </dependencies> 
    88</metadata> 
Note: See TracChangeset for help on using the changeset viewer.