password=db.auth_user.password.validate('password')[0]On Feb 9, 5:10 am, Rafal <[email protected]> wrote: > Hi > > I want to deploy application multiple times with the basic standard > data. Everything works correctly untill I want to add first user (with > some standard password) to auth_user. > > I tried > if db(db.auth_user).count() == 0: > db.auth_user.insert(username='test', first_name='test1', > last_name='test2', email='', password='password') > and the password is not hashed in the database. how do I hash > "manually" > Rafal

