On Jan 8, 9:03 am, tknack <tknac...@gmail.com> 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 web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to