Compare commits

..

No commits in common. "8848c91e1c7ccf2f8a8d43b4df26e3845abec5d4" and "06a3d727ca31bdbe3aacdd6d3e447ce445a30705" have entirely different histories.

3 changed files with 1 additions and 72 deletions

View File

@ -1,68 +0,0 @@
# Generated by Django 3.1.1 on 2020-11-16 15:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('input', '0043_auto_20201102_1320'),
]
operations = [
migrations.AlterField(
model_name='businesscard',
name='email',
field=models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse'),
),
migrations.AlterField(
model_name='email',
name='email',
field=models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse'),
),
migrations.AlterField(
model_name='honorarycertificate',
name='email',
field=models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse'),
),
migrations.AlterField(
model_name='ifg',
name='email',
field=models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse'),
),
migrations.AlterField(
model_name='library',
name='email',
field=models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse'),
),
migrations.AlterField(
model_name='list',
name='email',
field=models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse'),
),
migrations.AlterField(
model_name='literature',
name='email',
field=models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse'),
),
migrations.AlterField(
model_name='literature',
name='info',
field=models.CharField(max_length=500, verbose_name='Informationen zum Werk'),
),
migrations.AlterField(
model_name='literature',
name='source',
field=models.CharField(max_length=200, verbose_name='Bezugsquelle'),
),
migrations.AlterField(
model_name='project',
name='email',
field=models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse'),
),
migrations.AlterField(
model_name='travel',
name='email',
field=models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse'),
),
]

View File

@ -7,7 +7,7 @@ from .settings import ACCOUNTS
class Volunteer(models.Model):
realname = models.CharField(max_length=200, null=True, verbose_name="Name / Hauptansprechperson")
email = models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse')
email = models.CharField(max_length=200, null=True, verbose_name='E-Mail-Adresse')
# the following Fields are not supposed to be edited by users
granted = models.BooleanField(null=True)

View File

@ -192,13 +192,10 @@ class ExternView(CookieWizardView):
IF_EMAIL,
[IF_EMAIL],
fail_silently=False)
# raise SMTPException("testing pupose only")
except BadHeaderError:
modell.delete()
return HttpResponse('Invalid header found. Data not saved!')
except SMTPException:
modell.delete()
return HttpResponse('Error in sending mails (propably wrong adress?). Data not saved!')