From 44e4af119d2d9c4fd000f45f5f7b904534c30314 Mon Sep 17 00:00:00 2001 From: Jonas de Luna Skulberg Date: Fri, 24 May 2024 13:17:23 +0200 Subject: [PATCH] Remove notifications --- lego/apps/lending/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lego/apps/lending/models.py b/lego/apps/lending/models.py index 827d5b935..15162c1d8 100644 --- a/lego/apps/lending/models.py +++ b/lego/apps/lending/models.py @@ -65,8 +65,6 @@ class LendingInstanceStatus(models.TextChoices): message = models.TextField(null=False, blank=True) - objects = LendingInstanceManager() - @property def active(self): return timezone.now() < self.end_date and timezone.now() > self.start_date