feat: add e-mail to rescue organization
This commit is contained in:
		@@ -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'),
 | 
			
		||||
        ),
 | 
			
		||||
    ]
 | 
			
		||||
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user