survey mail slightly changed

This commit is contained in:
Benni Bärmann 2021-02-04 15:40:27 +01:00
parent fd00d1b67a
commit 36d56bbfa5
3 changed files with 2 additions and 6 deletions

View File

@ -65,10 +65,6 @@ run the following commands:
python3 manage.py migrate python3 manage.py migrate
python3 manage.py collectstatic python3 manage.py collectstatic
add to cron at least one time a day:
python3 manage.py sendmails
server starts with server starts with
nohup gunicorn --forwarded-allow-ips="*" -b '0:8000' foerderbarometer.wsgi 2&> logfile & nohup gunicorn --forwarded-allow-ips="*" -b '0:8000' foerderbarometer.wsgi 2&> logfile &

View File

@ -36,7 +36,7 @@ class Command(BaseCommand):
'SURVEYPREFIX': SURVEYPREFIX, } 'SURVEYPREFIX': SURVEYPREFIX, }
mail_template = get_template('input/survey_mail.txt') mail_template = get_template('input/survey_mail.txt')
try: try:
send_mail('Projektende erreicht', send_mail('Dein Feedback zur Förderung durch Wikimedia Deutschland',
mail_template.render(context), mail_template.render(context),
IF_EMAIL, IF_EMAIL,
[email], [email],

View File

@ -1,4 +1,4 @@
Hallo {{realname}}, Hallo,
Vor einiger Zeit durfte Wikimedia Deutschland Deine Aktivität für Freies Wissen Vor einiger Zeit durfte Wikimedia Deutschland Deine Aktivität für Freies Wissen
unterstützen. unterstützen.