Last change
on this file since 2085 was
2085,
checked in by mylan, 14 years ago
|
#174: fixed imports of moved modules
|
-
Property svn:eol-style set to
native
|
File size:
576 bytes
|
Line | |
---|
1 | from Products.CMFCore import utils |
---|
2 | from Products.Archetypes.atapi import process_types, listTypes |
---|
3 | |
---|
4 | from config import PROJECTNAME |
---|
5 | from config import ADD_PERMISSION |
---|
6 | |
---|
7 | def initialize(context): |
---|
8 | |
---|
9 | import field |
---|
10 | import validator |
---|
11 | |
---|
12 | content_types, constructors, ftis = process_types(listTypes(PROJECTNAME), PROJECTNAME) |
---|
13 | |
---|
14 | utils.ContentInit( |
---|
15 | PROJECTNAME + ' Content', |
---|
16 | content_types = content_types, |
---|
17 | permission = ADD_PERMISSION, |
---|
18 | extra_constructors = constructors, |
---|
19 | fti = ftis, |
---|
20 | ).initialize(context) |
---|
Note: See
TracBrowser
for help on using the repository browser.