Hi, Did you find out how to populate db.auth_user? I get IntegrityError: FOREIGN KEY constraint failed
On Saturday, April 16, 2011 at 7:14:09 PM UTC-7, 黄祥 wrote: > > hi, > > i've tested to using gluon.contrib.populate, but it seems that the > module didn't fill upload and password field type. > > e.g. > > from gluon.contrib.populate import populate > if not db(db.auth_user).count(): > populate(db.auth_user,10) > > any other solutions to put dummy data for test and dev purpose for > upload and password field type? > > thank you so much and best regards, > > steve van christie -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

