Last change
on this file was
3606,
checked in by vmaksymiv, 11 years ago
|
PPP fixes
|
-
Property svn:eol-style set to
native
|
File size:
834 bytes
|
Line | |
---|
1 | from Products.CMFCore import utils |
---|
2 | from Products.Archetypes.atapi import process_types, listTypes |
---|
3 | |
---|
4 | from quintagroup.pfg.captcha.config import PROJECTNAME |
---|
5 | from quintagroup.pfg.captcha.config import ADD_PERMISSION |
---|
6 | |
---|
7 | from quintagroup.pfg.captcha.field import CaptchaField |
---|
8 | from quintagroup.pfg.captcha.widget import CaptchaWidget |
---|
9 | from quintagroup.pfg.captcha.validator import CaptchaValidator |
---|
10 | #for pyflakes test |
---|
11 | CaptchaField |
---|
12 | CaptchaWidget |
---|
13 | CaptchaValidator |
---|
14 | |
---|
15 | |
---|
16 | def initialize(context): |
---|
17 | |
---|
18 | content_types, constructors, ftis = process_types(listTypes(PROJECTNAME), |
---|
19 | PROJECTNAME) |
---|
20 | |
---|
21 | utils.ContentInit( |
---|
22 | PROJECTNAME + ' Content', |
---|
23 | content_types=content_types, |
---|
24 | permission=ADD_PERMISSION, |
---|
25 | extra_constructors=constructors, |
---|
26 | fti=ftis,).initialize(context) |
---|
Note: See
TracBrowser
for help on using the repository browser.