fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more fixes for publishing on beta
[redakcja.git]
/
apps
/
catalogue
/
management
/
__init__.py
diff --git
a/apps/catalogue/management/__init__.py
b/apps/catalogue/management/__init__.py
index
f7731d7
..
bc3d6c0
100644
(file)
--- 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