X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/ec5b493bff5efa683aadf5f78aa891eff3550156..4e82667b8cf43ccfb47733d64f3dbe6598226dc3:/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