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

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

src/p/r/Products.CacheSetup-1.2.1/Products/CacheSetup/enabler.py   Products.CacheSetup(Download)
from zope.component import getSiteManager
from Products.CMFCore.utils import getToolByName
from Products.CMFCore import CachingPolicyManager
from Products.CMFCore.interfaces import ICachingPolicyManager
from Products.CacheSetup.config import PROJECT_NAME, GLOBALS, \

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/__init__.py   Products.CMFPlone(Download)
 
    # CMFCore and CMFDefault tools
    from Products.CMFCore import CachingPolicyManager
 
    # Plone tools

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/__init__.py   Products.CMFPlone(Download)
 
    # CMFCore and CMFDefault tools
    from Products.CMFCore import CachingPolicyManager
 
    # Plone tools

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_CachingPolicyManager.py   Products.CMFCore(Download)
    def setUp(self):
        from Products.CMFCore import CachingPolicyManager
 
        RequestTest.setUp(self)
        FSDVTest.setUp(self)
        self.portal._setObject('portal_types', DummyTool())
 
        from Products.CMFCore import CachingPolicyManager
        CachingPolicyManager.manage_addCachingPolicyManager(self.portal)
 
    def setUp(self):
        from Products.CMFCore import CachingPolicyManager
 
        RequestTest.setUp(self)