> class Entity(so.inheritance.InheritableSQLObject):
>        #name = so.UnicodeCol(notNone=1)
>        pass
> class Country(Entity):
>        code = so.StringCol(length=2) # iso3166-1 Alpha-2
>
> Entity.sqlmeta.addColumn(so.UnicodeCol('name', notNone=1))
> Country.q.name = Entity.q.name

Yes, there is the "addColumn('name')". And the exception still raises
if I comment out the name definition and remove the last two lines.
Sorry for the mix, I keep my previous sample code updated.

--
jt

Reply via email to