Skip to content

Commit

Permalink
Remove notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasdeluna committed May 24, 2024
1 parent afc32a3 commit cd58144
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lego/apps/lending/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from django.db import models

from lego.apps.files.models import FileField
from lego.apps.lending.managers import LendingInstanceManager
from lego.apps.lending.permissions import (
LendableObjectPermissionHandler,
LendingInstancePermissionHandler,
Expand Down Expand Up @@ -65,8 +64,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

Check warning on line 69 in lego/apps/lending/models.py

View check run for this annotation

Codecov / codecov/patch

lego/apps/lending/models.py#L69

Added line #L69 was not covered by tests
Expand Down

0 comments on commit cd58144

Please sign in to comment.