Re: [SQLObject] length in StringCol

2007-01-14 Thread Daniel Nogradi
> > import sqlobject > > class t( sqlobject.SQLObject ): > > s = sqlobject.StringCol( length=10 ) > > t.s._kw[ 'length' ] > > > > > > then this throws an exception saying " 'property' object has no > > attribute '_kw' ". I guess it's beca

Re: [SQLObject] length in StringCol

2007-01-14 Thread Oleg Broytmann
On Sun, Jan 14, 2007 at 03:59:47PM +0100, Daniel Nogradi wrote: > import sqlobject > class t( sqlobject.SQLObject ): > s = sqlobject.StringCol( length=10 ) > t.s._kw[ 'length' ] > > > then this throws an exception saying " 'property' obj

[SQLObject] length in StringCol

2007-01-14 Thread Daniel Nogradi
Hi list, If I do -- import sqlobject s = sqlobject.StringCol( length=10 ) s._kw[ 'length' ] -- then I can see that the length parameter of the string column is 10. But if I do (as in real life