luca72 schrieb:
> Hello
> in my model i have one class called First and onether called Second as
> follow:
> class First(SQLObject):
> rich = StringCol(alternateID=True, length=100)
> user = StringCol()
> 
> class Second(SQLObject):
> rich = StringCol(alternateID=True, length=100)
> user = StringCol()
> trau = StringCol()
> 
> i need to copy one row that i identify by b=First.get(ID) in to Second
> and than add the value for 'trau'.
> 
> Can you explain me how to proceed

Second(rich=first.richt, user=first.user, trau=<whatever>)

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to