Użytkownik Ed Leafe napisał: > It seems as though SQLite is returning an empty string instead of None. > Does the date column in the database allow null values? If not, it looks like > it is storing an empty string for the value.
It's very strange because for me, SQLite returns date: 0001-01-01 value for new blank date fields. What is your environment, Dewald? Can you check if setting default value for your field to datetime.date.today helps? -- Regards Jacek Kałucki _______________________________________________ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/4ece805f.3090...@rz.onet.pl