Did I find the right examples for you? yes no

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

src/c/o/collective.emaillogin4-1.3/collective/emaillogin4/patches/pa_users/register.py   collective.emaillogin4(Download)
from plone.app.users.browser.register import BaseRegistrationForm
 
from utils import uuid_userid_generator
 
 
    props = portal_props.site_properties
    if props.getProperty('use_uuid_as_userid'):
        userid = uuid_userid_generator()
        data['user_id'] = userid
        return userid