>> >>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 wi
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
> >>
> >>S
>> Just letting you know that I upgraded to FormEncode 1.2.1 and
>> everything works fine with sqlobject 0.10.4 in a pretty large
>> turbogears app (which doesn't mean that everything will be fine for
>> everyone).
>
>Thank you!
>
>> By the way, are there plans for a 1.0 release? What are your
On Mon, Jan 26, 2009 at 03:50:31PM -0800, Daniel Fetchinson wrote:
> Just letting you know that I upgraded to FormEncode 1.2.1 and
> everything works fine with sqlobject 0.10.4 in a pretty large
> turbogears app (which doesn't mean that everything will be fine for
> everyone).
Thank you!
> By
>>>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
>>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.
>
>
On Tue, Jan 27, 2009 at 12:05:32AM +0300, Oleg Broytmann 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 mo
On Mon, Jan 26, 2009 at 12:14:44PM -0800, Daniel Fetchinson wrote:
> {'x': {}}
> {'x': None}
Found it. It is in FormEncode, api.py, class FancyValidator; note
if self.is_empty(value):
...
return self.empty_value(value)
def fro
>>> When using a PickleCol with default={ } the behaviour is not exactly
>>> what I would expect:
>>>
>>> ##
>>> from sqlobject import *
>>> sqlhub.processConnection = connectionForURI( 'sqlite:///:memory:',
>>> debug=True )
>>> cl
>> When using a PickleCol with default={ } the behaviour is not exactly
>> what I would expect:
>>
>> ##
>> from sqlobject import *
>> sqlhub.processConnection = connectionForURI( 'sqlite:///:memory:',
>> debug=True )
>> class t( S
On Sun, Jan 25, 2009 at 08:35:03PM -0800, Daniel Fetchinson wrote:
> When using a PickleCol with default={ } the behaviour is not exactly
> what I would expect:
>
> ##
> from sqlobject import *
> sqlhub.processConnection = connect
11 matches
Mail list logo