The simplest example using EnumCol fails with an
AssertionError when attempting to create a SQLObject
>>> class Page (SQLObject):
... name=EnumCol(['val1', 'val2'])
AssertionError: You cannot change a name after it has
already been set (from ['val1', 'val2'] to name)
This is in SQLObject v0.7.0. I'm a noob, so maybe this
is somehow my fault, but the example seems so simple
that I'd like to doubt that for now.
Log in to post a comment.