Mike, Michael Bayer wrote: > ... > oh sorry, I misread the source code in SA earlier...for an INSERT, we > are going to insert "None" for all columns that are blank but dont > have a default. so your two options here are to put another > PassiveDefault on the column: > > Column(u'consumedvalue', > Numeric(precision=18,length=2,asdecimal=True), PassiveDefault("")), > That did the trick.
Thanks a lot Werner --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---