fixes #978, autotypes and unicode strings, thanks remcoboerma
This commit is contained in:
1 parent
28e6999e7d
commit
df34869d65
1 file changed
+1
@@ -1691,6 +1691,7 @@ class SQLFORM(FORM):
|
||||
|
||||
AUTOTYPES = {
|
||||
type(''): ('string', None),
|
||||
type(u''): ('string',None),
|
||||
type(True): ('boolean', None),
|
||||
type(1): ('integer', IS_INT_IN_RANGE(-1e12, +1e12)),
|
||||
type(1.0): ('double', IS_FLOAT_IN_RANGE()),
|
||||
|
||||
Reference in new issue
Block a user