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

2014-11-19 Thread Ilja Maas
Great! Thanx Op zaterdag 15 november 2014 18:08:34 UTC+1 schreef Ilja Maas: > > Investigating https://code.djangoproject.com/ticket/21163 > I came across these lines in mysql/base.py: > > if settings.DEBUG: > warnings.filterwarnings("error", category=Database.Wa

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

2014-11-15 Thread Ilja Maas
Investigating https://code.djangoproject.com/ticket/21163 I came across these lines in mysql/base.py: if settings.DEBUG: warnings.filterwarnings("error", category=Database.Warning) Finding out why, this bubbles up to somewhere in 2007 https://github.com/django/django/commit/f9c4ce51235aac48