Skip to content

Commit

Permalink
Merge pull request #408 from talpor/master
Browse files Browse the repository at this point in the history
Properly handles a scenario when an instance's PK is None
  • Loading branch information
etianen committed Jun 1, 2015
2 parents 9cadd6c + b51ccb0 commit 356b875
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/reversion/revisions.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def end(self):
(obj, callable(data) and data() or data)
for obj, data
in manager_context.items()
if obj.pk is not None
),
user = self._user,
comment = self._comment,
Expand Down

0 comments on commit 356b875

Please sign in to comment.