django1/django/db
Malcolm Tredinnick 3eb8074808 Added savepoint protection to get_or_create() to avoid problems on PostgreSQL.
Fixed #7402.

Also made savepoint handling easier to use when wrapped around calls that might
commit a transaction. This is tested by the get_or_create tests.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-12 05:59:43 +00:00
..
backends Added savepoint support to the transaction code. 2008-08-12 05:34:56 +00:00
models Added savepoint protection to get_or_create() to avoid problems on PostgreSQL. 2008-08-12 05:59:43 +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