Back to index

plone3  3.1.7
__init__.py
Go to the documentation of this file.
00001 from Products.CMFCore import utils
00002 from Products.Archetypes.atapi import process_types, listTypes
00003 from config import *
00004 
00005 import ATRefBrowserDemo
00006 
00007 def initialize(context):
00008     content_types, constructors, ftis = process_types(
00009         listTypes(PROJECTNAME),
00010         PROJECTNAME)
00011 
00012     utils.ContentInit(
00013         PROJECTNAME + ' Content',
00014         content_types      = content_types,
00015         permission         = ADD_CONTENT_PERMISSION,
00016         extra_constructors = constructors,
00017         ).initialize(context)