Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/a/r/archetypes.referencebrowserwidget-2.4.21/src/archetypes/referencebrowserwidget/__init__.py   archetypes.referencebrowserwidget(Download)
from Products.CMFCore.utils import ContentInit
from Products.Archetypes.atapi import process_types, listTypes
from Products.CMFCore.permissions import AddPortalContent
from archetypes.referencebrowserwidget.config import PROJECTNAME
from archetypes.referencebrowserwidget.config import WITH_SAMPLE_TYPES
        ).initialize(context)
 
if WITH_SAMPLE_TYPES:
    # setup sample types
    from Products.GenericSetup import EXTENSION, profile_registry