From f5e33bce37a8ee43b727a59c18d000f5ef23271a Mon Sep 17 00:00:00 2001 From: Scott Griffin Date: Fri, 26 Feb 2016 01:13:21 +0000 Subject: [PATCH] Removed transaction management after commit. This was placed here to support older versions of Django. Due to Django's transaction model overhaul in v1.8 this is no longer needed. --- bulk_update/helper.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bulk_update/helper.py b/bulk_update/helper.py index 4a7f163..5e51990 100644 --- a/bulk_update/helper.py +++ b/bulk_update/helper.py @@ -146,4 +146,3 @@ def bulk_update(objs, meta=None, update_fields=None, exclude_fields=None, del values, pks connection.cursor().execute(sql, parameters) - transaction.commit_unless_managed(using=using)