fix: typo

This commit is contained in:
2025-06-20 18:53:09 +02:00
parent 6f5e75a1b3
commit 53bc433aaa
2 changed files with 20 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
# Generated by Django 5.2.1 on 2025-06-20 16:52
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('fellchensammlung', '0049_rescueorganization_exclude_from_check'),
]
operations = [
migrations.RenameField(
model_name='speciesspecificurl',
old_name='rescues_organization',
new_name='rescue_organization',
),
]

View File

@@ -987,6 +987,6 @@ class SpeciesSpecificURL(models.Model):
Model that allows to specify a URL for a rescue organization where a certain species can be found
"""
species = models.ForeignKey(Species, on_delete=models.CASCADE, verbose_name=_("Tierart"))
rescues_organization = models.ForeignKey(RescueOrganization, on_delete=models.CASCADE,
verbose_name=_("Tierschutzorganisation"))
rescue_organization = models.ForeignKey(RescueOrganization, on_delete=models.CASCADE,
verbose_name=_("Tierschutzorganisation"))
url = models.URLField(verbose_name=_("Tierartspezifische URL"))