On Monday 17 September 2007 12:21:52 krsyoung wrote:
> I need to check the SQLObject changelogs to try and find the rational
> for this, but has anyone else hit this error?
The problem you have is that SQLite considers everything to be a string. So,
when you concatenate something you never have a NULL (mapped to None) record.
You can solve this easily by checking what you get from your database:
result = prior_value
if class.field is not None:
result += class.Field
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---