On Jan 29, 9:38 am, selecta <[email protected]> wrote:
> It depends on an improved IS_IN_SET validator. To use the plug-in you
> need to replace the constructor of IS_IN_SET (gluon/validators.py)

Hi Selecta,
I like the plugin!  However, I am not so happy to modify
validators.py.

I suggest:
Either,  if IS_IN_SET validator is really 'improved', then can Massimo
consider the improvement for inclusion in trunk?
Or, maybe Massimo could put a switch in the __init__.
Or, if that's not possible, at least would you consider extending the
existing IS_IN_SET and put this in plugin_webfolder.py?

I mean something like the following (I am no expert, so please let me
know if this is stupid):

class WEBFOLDER_IS_IN_SET(IS_IN_SET):  __init__(..new code here..)

BTW I think import re is required.

Thanks for your work on this project, it is an excellent idea.
Regards
--David

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