i do this: nome=utente[0].Nome cognome=utente[0].Cognome email=utente[0].Email password=base64.b64encode(sha.sha(str(random.random())).hexdigest())[: 8]
db.auth_user.insert(first_name=nome,last_name=cognome,password=password,email=email) but when i try to log in with the password it don't work On 14 Set, 14:39, ceriox <cer...@gmail.com> wrote: > i wanna insert a new user in db.auth_user with something like: > db.auth_user.insert(first_name=nome) > > (i don't know how to specify more field) > > On 14 Set, 13:34, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Not sure I understand. > > > On Sep 14, 3:08 am, ceriox <cer...@gmail.com> wrote: > > > > how i can directly insert a record to user auth table without generate > > > a user table? > > > > thanks for help > >