Thank you guys, it worked!

Don't you know the similar problem: I store an object serialized with
pickle into a text field in database. Everything is fine except when I
want to copy serialized object (text) from one web2py instance and
paste into another. When python tries to materialize the object it
says that object security in broken.

Sergey

On 29 окт, 00:05, howesc <how...@umich.edu> wrote:
> try adding an IS_LENGTH() validator to the field and set the max
> length high enough.  i don't know for sure, but it sounds like there
> is a default max length for text widgets (unless you already have a
> validator that is limiting the size)
>
> On Oct 28, 7:11 am, SergeyPo <ser...@zarealye.com> wrote:
>
> > I need to paste large texts into a db table field using appadmin.
> > Table field is defined as 'text' and in MySQL is mapped to 'longtext'.
> > Longtext capacity is 4GB or so... I need to paste approx. 1 Mb of text
> > into the field.
>
> > When I do it in web2py appadmin I get an error "enter from 0 to 65536
> > characters". I believe this is produced by a widget? How is it
> > possible to disable this limit?
>
>

Reply via email to