feat: Add number of animals per sex to metrics

This commit is contained in:
2025-07-20 16:09:59 +02:00
parent 5898fbf86d
commit 1d8a054b06

View File

@@ -172,7 +172,7 @@ class RescueOrganization(models.Model):
"Es findet gerade Kommunikation zwischen Notfellchen und der Organisation statt.")) "Es findet gerade Kommunikation zwischen Notfellchen und der Organisation statt."))
parent_org = models.ForeignKey("RescueOrganization", on_delete=models.PROTECT, blank=True, null=True) parent_org = models.ForeignKey("RescueOrganization", on_delete=models.PROTECT, blank=True, null=True)
# allows to specify if a rescue organization has a specialization for dedicated species # allows to specify if a rescue organization has a specialization for dedicated species
specializations = models.ManyToManyField(Species) specializations = models.ManyToManyField(Species, blank=True)
class Meta: class Meta:
unique_together = ('external_object_identifier', 'external_source_identifier',) unique_together = ('external_object_identifier', 'external_source_identifier',)