diff --git a/README.md b/README.md index 4c64a7f..c1497a1 100644 --- a/README.md +++ b/README.md @@ -65,10 +65,6 @@ run the following commands: python3 manage.py migrate python3 manage.py collectstatic -add to cron at least one time a day: - - python3 manage.py sendmails - server starts with nohup gunicorn --forwarded-allow-ips="*" -b '0:8000' foerderbarometer.wsgi 2&> logfile & diff --git a/input/management/commands/sendmails.py b/input/management/commands/sendmails.py index 6412877..b159639 100644 --- a/input/management/commands/sendmails.py +++ b/input/management/commands/sendmails.py @@ -36,7 +36,7 @@ class Command(BaseCommand): 'SURVEYPREFIX': SURVEYPREFIX, } mail_template = get_template('input/survey_mail.txt') try: - send_mail('Projektende erreicht', + send_mail('Dein Feedback zur Förderung durch Wikimedia Deutschland', mail_template.render(context), IF_EMAIL, [email], diff --git a/input/templates/input/survey_mail.txt b/input/templates/input/survey_mail.txt index 3df0396..3819b19 100644 --- a/input/templates/input/survey_mail.txt +++ b/input/templates/input/survey_mail.txt @@ -1,4 +1,4 @@ -Hallo {{realname}}, +Hallo, Vor einiger Zeit durfte Wikimedia Deutschland Deine Aktivität für Freies Wissen unterstützen.