Re: Request for removal: Mysql warnings get promoted to Exceptions in debug mode

2014-11-16 Thread Chi Ho Kwok
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

Re: DatabaseError with empty IN clause with Paginator

2012-11-09 Thread Chi Ho Kwok
; 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

DatabaseError with empty IN clause with Paginator

2012-11-08 Thread Chi Ho Kwok
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