diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-29 04:30:07 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-29 04:30:07 +0000 |
| commit | 90279aeaf07222dd7388956bfd465d30365087a5 (patch) | |
| tree | 64c2a67829d9601307e3455d81e2d3d716353e34 /docs | |
| parent | 54f41e3507bee76b5e1556b25ddbb57c47c8b84b (diff) | |
Fixed #8575 -- Catch one particular instance of OperationalError in MySQL and
convert it to an IntegrityError, which seems like the more natural case (and is
consistent with other backends). This makes exception handling in Django much
easier.
The solution is extensible for any other error codes we may wish to add going
forwards.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
