Simon Belak <[EMAIL PROTECTED]> writes:

> Yes, but if_empty will raise an error on None.

Oops, I use it the other way around:

    widgets.TextField(attrs = {'size':51},
                      name = 'endereco',
                      label = lazy_gettext(u'Endereço'),
                      validator = validators.UnicodeString(if_empty = None)),

But I still think that None is better than ''. 

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

Reply via email to