From 1d8a054b06fa469ef657e78137149da90c0d41d3 Mon Sep 17 00:00:00 2001 From: moanos Date: Sun, 20 Jul 2025 16:09:59 +0200 Subject: [PATCH] feat: Add number of animals per sex to metrics --- src/fellchensammlung/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index 13f783d..a5e862c 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -172,7 +172,7 @@ class RescueOrganization(models.Model): "Es findet gerade Kommunikation zwischen Notfellchen und der Organisation statt.")) 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 - specializations = models.ManyToManyField(Species) + specializations = models.ManyToManyField(Species, blank=True) class Meta: unique_together = ('external_object_identifier', 'external_source_identifier',)