diff options
Diffstat (limited to 'brevisurl')
| -rw-r--r-- | brevisurl/backends/local.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/brevisurl/backends/local.py b/brevisurl/backends/local.py index 34d2d83..a00b0fe 100644 --- a/brevisurl/backends/local.py +++ b/brevisurl/backends/local.py @@ -65,7 +65,7 @@ class BrevisUrlBackend(BaseBrevisUrlBackend): original_url=original_url, shortened_url=shortened_url) log.info('Url "%s" shortened to "%s"', original_url, shortened_url) - transaction.savepoint_commit() + transaction.savepoint_commit(sid) return short_url except (IntegrityError, ValidationError) as e: transaction.savepoint_rollback(sid) |
