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 guess it has something to do with encoding (my data in in Cyrillic). I thought Django should truncate in on the application level, but it obviously doesn't. What can I do (except for truncating data by myself every time)? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.