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

All Samples(9)  |  Call(1)  |  Derive(1)  |  Import(7)

src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/RegistrationTool.py   Products.CMFDefault(Download)
 
from Products.CMFCore.interfaces import IMembershipTool
from Products.CMFCore.RegistrationTool import RegistrationTool as BaseTool
from Products.CMFCore.utils import _checkPermission
from Products.CMFDefault.permissions import ManagePortal
from Products.CMFDefault.utils import checkEmailAddress
from Products.CMFDefault.utils import Message as _
 
 
class RegistrationTool(BaseTool):

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/patches/csrf.py   Products.CMFPlone(Download)
    PT.renameObjectsByPaths = patch(PT.renameObjectsByPaths)
 
    from Products.CMFCore.RegistrationTool import RegistrationTool
    RegistrationTool.addMember = patch(RegistrationTool.addMember)
 

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/patches/csrf.py   Products.CMFPlone(Download)
    PT.renameObjectsByPaths = patch(PT.renameObjectsByPaths)
 
    from Products.CMFCore.RegistrationTool import RegistrationTool
    RegistrationTool.addMember = patch(RegistrationTool.addMember)
 

src/p/r/Products.CMFNotification-2.3b1/Products/CMFNotification/patches.py   Products.CMFNotification(Download)
        ntool.onMemberRegistration(member, properties)
 
from Products.CMFCore.RegistrationTool import RegistrationTool
RegistrationTool._cmf_notification_orig_afterAdd = RegistrationTool.afterAdd
RegistrationTool.afterAdd = afterAdd

src/c/y/cyn.in-HEAD/products/CMFNotification/patches.py   cyn.in(Download)
        ntool.onMemberRegistration(member, properties)
 
from Products.CMFCore.RegistrationTool import RegistrationTool
RegistrationTool._cmf_notification_orig_afterAdd = RegistrationTool.afterAdd
RegistrationTool.afterAdd = afterAdd

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_RegistrationTool.py   Products.CMFCore(Download)
    def _makeOne(self):
        from Products.CMFCore.RegistrationTool import RegistrationTool
 
        return RegistrationTool()
 
    def test_interfaces(self):
        from Products.CMFCore.interfaces import IRegistrationTool
        from Products.CMFCore.RegistrationTool import RegistrationTool