> Since it seems like I need to write as lot of custom validators for my
> app, I'd really like an easy way to put these into my app's modules
> folder rather than amending gluon/validators.py (to keep the app
> portable).

Actually was a lot easier than I expected!
I just need to create a new validators.py file in modules with a
copied header from the original validators.py
Add my new classes here & then to the top of my db.py I simply add:
from applications.appname.modules.validators import *

Bingo :)

I've added to AlterEgo FAQ:
http://mdp.cti.depaul.edu/AlterEgo/default/show/193

Help still welcomed on writing the 'IS_IN_DB_OR_EMPTY' validator ;)

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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