Tag Archives: sqlobject

Automatically migrate SQL schema in SQLObject

When you're building an application you have to extends your model (and alter database schema that is placed under the model). I've found a method to automatically upgrade SQL schema (only ADD COLUMN operations for now): from sqlobject import * … Continue reading

Posted in en | Tagged , | Leave a comment

How to make SQLObject instances "picklable"?

I tried to store SQLObject instances in a session, but had problems with pickling them. Here is smart base class for model classes that allow to fast pickle / unpickle operation: from sqlobject import * import logging class Base(SQLObject): def … Continue reading

Posted in en | Tagged , | Leave a comment