X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0f7ebe49c20394d80afb129b29e4afa411347441..8a3484bca2af09fad4f912d50c5af5601274d295:/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