diff --git a/src/fellchensammlung/migrations/0050_rename_rescues_organization_speciesspecificurl_rescue_organization.py b/src/fellchensammlung/migrations/0050_rename_rescues_organization_speciesspecificurl_rescue_organization.py new file mode 100644 index 0000000..6e00e21 --- /dev/null +++ b/src/fellchensammlung/migrations/0050_rename_rescues_organization_speciesspecificurl_rescue_organization.py @@ -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', + ), + ] diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index d602ef4..2cc8287 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -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"))