fix: remove debug statement
This commit is contained in:
@@ -419,7 +419,6 @@ class AdoptionNotice(models.Model):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def num_per_sex(self):
|
def num_per_sex(self):
|
||||||
print(f"{self.pk} x")
|
|
||||||
num_per_sex = dict()
|
num_per_sex = dict()
|
||||||
for sex in SexChoices:
|
for sex in SexChoices:
|
||||||
num_per_sex[sex] = len([animal for animal in self.animals if animal.sex == sex])
|
num_per_sex[sex] = len([animal for animal in self.animals if animal.sex == sex])
|
||||||
|
|||||||
Reference in New Issue
Block a user