Re: django.db.utils.DatabaseError: value too long for type character varying(50)

2012-07-14 Thread James Rivett-Carnac
1:30 UTC+8, Valentin Golev wrote: >> >> Hello, >> >> I'm trying to deploy my Django application with PostgreSQL. While >> trying to insert an object to the database, I'm getting the following >> error: >> >> >> django.db.utils.Da

Re: django.db.utils.DatabaseError: value too long for type character varying(50)

2012-07-13 Thread James Rivett-Carnac
ng the following > error: > > > django.db.utils.DatabaseError: value too long for type character > varying(50) > > > My application were working fine on SQLite. I guess it has something > to do with encoding (my data in in Cyrillic). I thought Django should > truncate in on the applic

django.db.utils.DatabaseError: value too long for type character varying(50)

2010-09-20 Thread Valentin Golev
Hello, I'm trying to deploy my Django application with PostgreSQL. While trying to insert an object to the database, I'm getting the following error: django.db.utils.DatabaseError: value too long for type character varying(50) My application were working fine on SQLite. I gu