Skip to content

Commit

Permalink
VersionAdmin.ignore_duplicate_revisions regression, refs #442
Browse files Browse the repository at this point in the history
  • Loading branch information
etianen committed Aug 7, 2015
1 parent 920036c commit 000c207
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/reversion/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def _order_version_queryset(self, queryset):
def _create_revision(self, request):
with transaction.atomic(), self.revision_context_manager.create_revision():
self.revision_context_manager.set_user(request.user)
self.revision_context_manager.set_ignore_duplicates(self.ignore_duplicate_revisions)
yield

# Messages.
Expand Down

0 comments on commit 000c207

Please sign in to comment.