Re: [SQLObject] default empty dict for picklecol
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2009-02-02 22:32:29
|
On Mon, Jan 26, 2009 at 02:21:51PM -0800, Daniel Fetchinson wrote: > >> In newer version of FormEncode compound.All validator got correct > >> is_empty method: > >> > >> def is_empty(self, value): > >> # sub-validators should handle emptiness. > >> return False > >> > >> So it's time to require more recent FormEncode to be used with > >> SQLObject. > > > > I think it is FormEncode version 1.1.1, but I cannot recommend any > > version until I run the test suite. > > > Great, thanks Oleg! Please let us know when it is safe to upgrade to > FormEncode 1.2.1. (current version). The test suite passed with FormEncode 1.2.1. I added a proper test to test_validation.py and set the lowest version of FormEncode in setup.py. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |