diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-12 05:59:43 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-12 05:59:43 +0000 |
| commit | 3eb80748087004608ead65834a766d257e9edfc9 (patch) | |
| tree | 4a3f283ad6592840bbd1824fb40d566eeab38042 /django/core/serializers/python.py | |
| parent | 220993bcc52e78520d8e6cc8aa022608eac10b2a (diff) | |
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
Diffstat (limited to 'django/core/serializers/python.py')
0 files changed, 0 insertions, 0 deletions
