Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #8575 -- Catch one particular instance of OperationalError in M…
…ySQL 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
- Loading branch information
Showing
1 changed file
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters