"Ed Singleton" <[EMAIL PROTECTED]> writes:

> On 7/9/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:
>>
>> "Ed Singleton" <[EMAIL PROTECTED]> writes:
>>
>> > No, that doesn't seem to work.
>>
>> :-( Too bad.  It should be the standard interface for that...  Try using
>> "not_empty = False".
>
> No that neither.  Assuming you mean...
>
> FileField("photo", not_empty=False,
> validator=validators.FieldStorageUploadConverter())

No.  I meant those options in the validator.

FileField("photo",
   validator = validators.FieldStorageUploadConverter(not_empty = False))

The same for the if_empty suggestion.  Those are validators parameters. 

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to