Yes, that's the default value for length of text type fields see here:

https://github.com/web2py/pydal/blob/master/pydal/objects.py#L40

The value is set to 2**15 which is 32768

Then you don't have a requires so web2py puts one for you in
https://github.com/web2py/web2py/blob/master/gluon/dal.py#L29

So you text field has a requires IS_LENGTH(32768)

Note that by default, the value of a Field requires is not None, it is 
DEFAULT.

Anyway, the simple solution is to put your text field requires=None, 
requires=IS_NOT_EMPTY() or requires=IS_LENGTH(1073741824)  # 1GB

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to