forked from beba/foerderbarometer
survey mail slightly changed
This commit is contained in:
parent
fd00d1b67a
commit
36d56bbfa5
|
@ -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 &
|
||||||
|
|
|
@ -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],
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue