X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/ec5b493bff5efa683aadf5f78aa891eff3550156..b51090fd595f1f7787bb39b638f1bcf4cac7b676:/apps/catalogue/management/__init__.py diff --git a/apps/catalogue/management/__init__.py b/apps/catalogue/management/__init__.py index f7731d72..bc3d6c02 100644 --- a/apps/catalogue/management/__init__.py +++ b/apps/catalogue/management/__init__.py @@ -100,9 +100,7 @@ class XmlUpdater(object): books = Book.objects.all() # Start transaction management. - transaction.commit_unless_managed() transaction.enter_transaction_management() - transaction.managed(True) for book in books: self.counters['All books'] += 1