fix: don't exchange set for new one
This commit is contained in:
parent
8d2d80c30e
commit
14547ad621
@ -240,7 +240,7 @@ class AdoptionNotice(models.Model):
|
||||
def sexes(self):
|
||||
sexes = set()
|
||||
for animal in self.animals:
|
||||
sexes.update(animal.sex)
|
||||
sexes.add(animal.sex)
|
||||
return sexes
|
||||
|
||||
def sex_code(self):
|
||||
|
Loading…
Reference in New Issue
Block a user