django1/django/db
Gary Wilson Jr ddc156bca2 Fixed #6970 -- Raise the original `IntegrityError` when all required fields aren't specified in `get_or_create` instead of a misleading `DoesNotExist` error, thanks deadwisdom.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 23:29:55 +00:00
..
backends Reverted [8318] and [8329], since the change turned out to have no effect, upon 2008-08-15 14:58:59 +00:00
models Fixed #6970 -- Raise the original `IntegrityError` when all required fields aren't specified in `get_or_create` instead of a misleading `DoesNotExist` error, thanks deadwisdom. 2008-08-15 23:29:55 +00:00
__init__.py Corrected a problem with the error message when the nominated database backend doesn't exist. Thanks to Ramiro Morales for the report and fix. 2008-08-11 13:11:25 +00:00
transaction.py Added savepoint protection to get_or_create() to avoid problems on PostgreSQL. 2008-08-12 05:59:43 +00:00