diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-01-07 21:42:37 +0000 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-01-07 21:42:37 +0000 |
| commit | cd4686304344529538470481ddd452d2534650ae (patch) | |
| tree | 2191b78df8ae36eec7a3c1567ecfcfd7bda5b9a3 /docs | |
| parent | ca187fea88b626508e125e0843c991fe63f8ed95 (diff) | |
Added missing bits of r17352. Refs #17513.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.4.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/releases/1.4.txt b/docs/releases/1.4.txt index 9f9ce7fb59..d4c723fea5 100644 --- a/docs/releases/1.4.txt +++ b/docs/releases/1.4.txt @@ -745,6 +745,15 @@ datetimes are now stored without time-zone information in SQLite. When :setting:`USE_TZ` is ``False``, if you attempt to save an aware datetime object, Django raises an exception. +``MySQLdb``-specific exceptions +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The MySQL backend could raise :class:`MySQLdb.OperationalError` +when a query triggered an exception. This bug was fixed and +:class:`django.db.utils.DatabaseError` is now raised instead. +If you were testing for :class:`MySQLdb.OperationalError`, +you must update your ``except`` clauses. + Database connection's thread-locality ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
