[SQLObject] Re: One to many relationships manipulation
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Chris G. <ch...@il...> - 2004-08-16 19:35:43
|
On 16 Aug 2004, Chris Gahan said: > class Address(SQLObject): > [... stuff here ...] > > def __str__(cls): > return "%(street)s\n%(city)s, %(state)s %(zip)s" % cls. > __dict__ > Oops, I should've used "self" instead of "cls". Otherwise, it's good. :) |