Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(7) | Call(3) | Derive(0) | Import(4)
src/p/r/Products.PlonePAS-5.0/Products/PlonePAS/plugins/crumbler.py Products.PlonePAS(Download)
from Products.PluggableAuthService.interfaces.plugins import IExtractionPlugin from Products.CMFCore.CookieCrumbler import manage_addCC import logging
o = getattr(aq_base(self), id) manage_addCC(o, CC_ID) if RESPONSE is not None:
src/p/r/Products.PlonePAS-HEAD/Products/PlonePAS/plugins/crumbler.py Products.PlonePAS(Download)
from Products.PluggableAuthService.interfaces.plugins import IExtractionPlugin from Products.CMFCore.CookieCrumbler import manage_addCC import logging
o = getattr(aq_base(self), id) manage_addCC(o, CC_ID) if RESPONSE is not None:
src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_CookieCrumbler.py Products.CMFCore(Download)
def testCreateForms(self): # Verify the factory creates the login forms. from Products.CMFCore.CookieCrumbler import manage_addCC if 'CMFCore' in self._getTargetClass().__module__:
root, cc, req, credentials = self._makeSite() root._delObject('cookie_authentication') manage_addCC(root, 'login', create_forms=1) ids = root.login.objectIds() ids.sort()
src/e/r/erp5-HEAD/product/ERP5Type/tests/testCookieCrumbler.py erp5(Download)
from ZPublisher.HTTPResponse import HTTPResponse from Products.CMFCore.CookieCrumbler \ import CookieCrumbler, manage_addCC, Redirect from Products.CMFCore.tests.test_CookieCrumbler import makerequest