Hi,
I'm getting same error (gluaon/validators.py, line 807), version
1.97.1. Debugger says this.dot is type lazyT, so I made a test and
added str(). Line now looks:
def formatter(self, value):
return str(value).replace('.',str(self.dot))
also line 793
try:
if
Thanks for this hint, but that doesn't seem to work.
If I apply this to the field in either model or controller, i get
following error:
File gluon/sqlhtml.py, line 782, in __init__
File gluon/dal.py, line 5247, in formatter
File gluon/validators.py, line 807, in formatter
TypeError:
IS_DECIMAL_IN_RANGE and IS_FLOAT take a an attribute called dot=.
which you can internationalize
IS_DECIMAL_IN_RANGE(dot=T(.))
On Jun 29, 5:39 am, tomtom5 tomt...@chello.at wrote:
I'm currently diving into web2py and got a problem localising input/
output of Decimal/Double form fields
3 matches
Mail list logo