diff --git a/src/fellchensammlung/migrations/0014_rescueorganization_email.py b/src/fellchensammlung/migrations/0014_rescueorganization_email.py new file mode 100644 index 0000000..9108175 --- /dev/null +++ b/src/fellchensammlung/migrations/0014_rescueorganization_email.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.1 on 2024-11-07 20:41 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('fellchensammlung', '0013_alter_log_user'), + ] + + operations = [ + migrations.AddField( + model_name='rescueorganization', + name='email', + field=models.EmailField(blank=True, max_length=254, null=True, verbose_name='E-Mail'), + ), + ] diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index adf67c0..df43762 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -177,6 +177,7 @@ class RescueOrganization(models.Model): instagram = models.URLField(null=True, blank=True, verbose_name=_('Instagram Profil')) facebook = models.URLField(null=True, blank=True, verbose_name=_('Facebook Profil')) fediverse_profile = models.URLField(null=True, blank=True, verbose_name=_('Fediverse Profil')) + email = models.EmailField(null=True, blank=True, verbose_name=_('E-Mail')) website = models.URLField(null=True, blank=True, verbose_name=_('Website')) updated_at = models.DateTimeField(auto_now=True) created_at = models.DateTimeField(auto_now_add=True)