diff --git a/src/fellchensammlung/migrations/0018_rescueorganization_description.py b/src/fellchensammlung/migrations/0018_rescueorganization_description.py new file mode 100644 index 0000000..3d2e355 --- /dev/null +++ b/src/fellchensammlung/migrations/0018_rescueorganization_description.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.1 on 2024-11-14 17:58 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('fellchensammlung', '0017_user_organization_affiliation'), + ] + + operations = [ + migrations.AddField( + model_name='rescueorganization', + name='description', + field=models.TextField(blank=True, null=True, verbose_name='Beschreibung'), + ), + ] diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index 8419b09..c908df1 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -111,6 +111,7 @@ class RescueOrganization(models.Model): updated_at = models.DateTimeField(auto_now=True) created_at = models.DateTimeField(auto_now_add=True) comment = models.TextField(verbose_name=_("Kommentar"), null=True, blank=True, ) + description = models.TextField(null=True, blank=True, verbose_name=_('Beschreibung')) # Markdown allowed class User(AbstractUser):