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

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

src/p/r/Products.BrFieldsAndWidgets-1.2.2/Products/BrFieldsAndWidgets/__init__.py   Products.BrFieldsAndWidgets(Download)
from Products.BrFieldsAndWidgets.config import ADD_CONTENT_PERMISSION
from Products.BrFieldsAndWidgets.config import GLOBALS
from Products.BrFieldsAndWidgets.config import PROJECTNAME
from Products.BrFieldsAndWidgets.config import SKINS_DIR
 
def initialize(context):
 
    content_types, constructors, ftis = process_types(
        listTypes(PROJECTNAME),
        PROJECTNAME)

src/p/r/Products.BrFieldsAndWidgets-1.2.2/Products/BrFieldsAndWidgets/content/BrFieldsAndWidgetsDemo.py   Products.BrFieldsAndWidgets(Download)
from Products.Archetypes import atapi
 
from Products.BrFieldsAndWidgets.config import PROJECTNAME
 
from Products.BrFieldsAndWidgets.content.BrFieldsAndWidgets import CPFField
 
 
atapi.registerType(BrFieldsAndWidgetsDemo, PROJECTNAME)