diff --git a/nummi/main/models.py b/nummi/main/models.py index 23a22ba..65544fb 100644 --- a/nummi/main/models.py +++ b/nummi/main/models.py @@ -134,6 +134,8 @@ class Snapshot(models.Model): .first() ) _prevnext.save(only_super=True) + _next.previous = None + super().save(*args, **kwargs) _next.previous = self _next.save(only_super=True)