On Jan 8, 9:03 am, tknack <[email protected]> wrote:
> Is it correct to put my validator code in validator.py ?

I put my custom validators into a separate validators.py in my modules
folder & then import to the model like so:
from applications.myapplication.modules.validators import *

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