diff --git a/RIGS/models.py b/RIGS/models.py index efceb9e4..39fa31bd 100644 --- a/RIGS/models.py +++ b/RIGS/models.py @@ -281,7 +281,7 @@ class EventManager(models.Manager): return event_count -@reversion.register(follow=['items']) +@reversion.register(follow=['items'], ignore_duplicates=True) # TODO Would be better to find why duplicates are created... class Event(models.Model, RevisionMixin): # Done to make it much nicer on the database PROVISIONAL = 0