I was doing this in the tg-admin shell:

>>> from turbogears.identity.model.somodel import *
>>> hub.begin()
>>> Product(code="123", name="widget")
>>> TG_User(userId="mike", password="secret", displayName="Mike Stephen", 
>>> emailAddress="[EMAIL PROTECTED]")
>>> hub.commit()

and the Product was in the db, but the TG_User was not.

Mike

Reply via email to