I am trying to store the stripe (billing service) company identifier [about 200 characters or so] in my database in Django.
Specific error:
database error: value too long for type character varying(4)
How to enable Django for longer values?
I saw: a value is too long for a character of type (N) and also: Django crashes, indicating "DatabaseError: too long a value for character of type (50)"
my database is already encoded for UTF-8, according to my web host.
EDIT . I see that one answer recommends making the column wider. Does this change to a PostgreSQL database?
My specific system is Webfaction, a common CentOs machine, Django runs on PostgreSQL. I would really appreciate a conceptual review of what is happening and how I can fix it.
python database django postgresql
zallarak Dec 13 '11 at 5:22 2011-12-13 05:22
source share