[web2py] Dependency issue with gluino

2013-06-12 Thread Jim T.
I "easy_install"-ed gluino, but upon importing it, I get an ImportError: "No module named contrib.pbkdf2". Can someone tell me what I need to take care of the dependency? Thanks. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubsc

[web2py] Re: Automatically creating entry in another table when an entry is created in db.auth_user

2013-06-08 Thread Jim T.
Thank you very much! On Saturday, June 8, 2013 12:33:08 PM UTC-5, Anthony wrote: > > You can use an _after_insert callback: > http://web2py.com/books/default/chapter/29/06#before-and-after-callbacks. > > Anthony > > On Saturday, June 8, 2013 10:37:37 AM UTC-4, Jim T. wrot

[web2py] Automatically creating entry in another table when an entry is created in db.auth_user

2013-06-08 Thread Jim T.
Hi. I have a table like this: db.define_table('table1', Field(userid, ...) ... other fields ... auth.signature ) I'd like a new row to be created in table1 with the 'userid' set to the new user's 'id' when a new user is created. Is there a way to implement this in the models? -- --- You r