Skip to content

Commit

Permalink
Omitted transaction.commit_unless_managed() call for newer Django ver…
Browse files Browse the repository at this point in the history
…sions. This is handled by the transaction system in Django 1.6 and above (close #310).
  • Loading branch information
deschler committed May 6, 2015
1 parent 1f7ce84 commit 15c7d9d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ def handle_noargs(self, **options):
else:
print('SQL not executed')

transaction.commit_unless_managed()
if django.VERSION < (1, 6):
transaction.commit_unless_managed()

if not found_missing_fields:
print('No new translatable fields detected')
Expand Down

0 comments on commit 15c7d9d

Please sign in to comment.