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

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

        def new(email, password, salt, nickname, languages=None):
    return User(email, password, salt, nickname, languages)
        


src/k/a/karesansui-HEAD/karesansui/gadget/user.py   karesansui(Download)
from karesansui.lib.rest import Rest, auth
 
from karesansui.db.access.user import \
    findbyall, findby1, findby1email, findbyand, \
    update, delete, save, new
            locales = DEFAULT_LANGS.keys()
            self.view.locales = locales
            self.view.user = new('', '', '', '', '')
 
        self.view.input = self.input
        (password, salt) = sha1encrypt(self.input.new_password)
 
        new_user = new(self.input.email,
                       password,
                       salt,

src/k/a/karesansui-HEAD/karesansui/gadget/userby1.py   karesansui(Download)
from karesansui.lib.rest import Rest, auth
 
from karesansui.db.access.user import \
    findbyall, findby1, findby1email, findbyand, \
    update, delete, save, new