[web2py] custom validator error

2015-09-10 Thread Anthony
Can we see the full traceback? Where is that error being thrown? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are

Re: [web2py] custom validator error

2015-09-10 Thread Manuele Pesenti
Il 06/09/15 22:25, kvthie0 ha scritto: > Hello all, > > I'm learning the inner workings of web2py and try to make a custom > validator called IS_TIME_IN_RANGE (based on the IS_DATE_IN_RANGE > validator). I suggest you to test the validator in a web2py console before using it... in case of errors y

[web2py] custom validator error

2015-09-07 Thread kvthie0
Hello all, I'm learning the inner workings of web2py and try to make a custom validator called IS_TIME_IN_RANGE (based on the IS_DATE_IN_RANGE validator). I saved the next code in : *www-data/web2py/applications/my_app/modules/customvalidators.py : * *from gluon.validators import IS_TIME*