Groups
Groups
Sign in
Groups
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
Bug: Text field length default limit to 512 characters ?
69 views
Skip to first unread message
toan75
unread,
Sep 6, 2011, 11:10:20 PM
9/6/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
9/6/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
9/7/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
This is fixed in trunk anyway.
Reply all
Reply to author
Forward
0 new messages