sqlalchemy beginner

John Gordon gordon at panix.com
Mon Nov 21 12:08:06 EST 2011


In <mailman.2906.1321891043.27778.python-list at python.org> Jabba Laci <jabba.laci at gmail.com> writes:

> SAWarning: Unicode column received non-unicode default value.
>   Column('display_name', Unicode(255), default=''),

Perhaps it would help to supply the default value as a Unicode string
instead of a plain string?

  Column('display_name', Unicode(255), default=u''),

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon at panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list