From b289df8dd31aeb934d405b800a7f4a361b77a783 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Tue, 13 Apr 2021 13:43:29 +0200 Subject: [PATCH] additional survey mails to an intern adress added --- input/management/commands/sendmails.py | 4 ++-- input/settings.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/input/management/commands/sendmails.py b/input/management/commands/sendmails.py index 999d387..d8c65da 100644 --- a/input/management/commands/sendmails.py +++ b/input/management/commands/sendmails.py @@ -8,7 +8,7 @@ from django.conf import settings from input.models import Project, Library, HonoraryCertificate, Travel, Email,\ BusinessCard, List, IFG, Literature -from input.settings import IF_EMAIL, SURVEYPREFIX +from input.settings import IF_EMAIL, SURVEYPREFIX, SURVEY_EMAIL class Command(BaseCommand): ''' mails will be send here: @@ -39,7 +39,7 @@ class Command(BaseCommand): send_mail('Dein Feedback zur Förderung durch Wikimedia Deutschland', mail_template.render(context), IF_EMAIL, - [email], + [email, SURVEY_EMAIL], fail_silently=False) except BadHeaderError: return HttpResponse('Invalid header found.') diff --git a/input/settings.py b/input/settings.py index a50cc0d..cf3a361 100644 --- a/input/settings.py +++ b/input/settings.py @@ -1,5 +1,6 @@ # mail for IF-OTRS IF_EMAIL = 'community@wikimedia.de' +SURVEY_EMAIL = 'christof.pins@wikimedia.de' # prefix for urls SURVEYPREFIX = 'https://wikimedia.sslsurvey.de/Foerderbarometer/?'