|
|
@ -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.') |
|
|
|