Can you remind me which version of web2py? stable or trunk?

On Sep 12, 8:52 pm, weheh <[email protected]> wrote:
> I might also add that IS_NULL_OR(IS_IMAGE()) is also probably an
> invalid statement, since IS_IMAGE() also requires an image file by
> default.
>
> Question -- should IS_UPLOAD_FILENAME() and IS_IMAGE() be changed to
> allow for no entry? Then perhaps modify IS_NOT_EMPTY() to accept an
> argument so you could do IS_NOT_EMPTY(IS_IMAGE()) or IS_NOT_EMPTY
> (IS_UPLOAD_FILENAME)? I don't know the wider implications of such a
> change, but it seems like you should be able to do something like this
> in validators. Otherwise, you have to use the more verbose
> readable=writable=False trick.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to