Bug: Text field length default limit to 512 characters ?

69 views
Skip to first unread message

toan75

unread,
Sep 6, 2011, 11:10:20 PM9/6/11
to web...@googlegroups.com
Hi.

I found in 1.98.2, text field type default length is 512 not 65536?
It's correct?

Toan.

Noel Villamor

unread,
Sep 6, 2011, 11:53:31 PM9/6/11
to web2py-users

Do an explicit length declaration in your model definition:

Field('txt','text', length=65536),

Look here:

http://www.web2py.com/book/default/chapter/06?search=Field+constructor

Massimo Di Pierro

unread,
Sep 7, 2011, 4:11:22 PM9/7/11
to web2py-users
This is fixed in trunk anyway.
Reply all
Reply to author
Forward
0 new messages