This is working as intended; on most databases, inserting a 11 character
text value into a VARCHAR(10) raises an error. On MySQL, depending on if
strict mode is enabled*, it either inserts "just fine" by truncating
"12345678901" to "1234567890" with a warning, or fails with an error.
As silent
; WHERE "bugtest_book"."author_id" IN () LIMIT 21
^
>>> import django; django.VERSION
(1, 3, 4, 'final', 0)
It's also database dependent, I couldn't reproduce the issue with SQLite.
I
ook"
WHERE "bugtest_book"."author_id" IN () LIMIT 21
We've worked around this on a few spots, but I don't think this is
intended, right?
Kind regards,
Chi Ho Kwok
--
You received this message because you are subscribed to the Google Groups
"Djang