stupid error

This commit is contained in:
Benni Baermann 2021-04-14 15:09:49 +02:00
parent 837b0bd9d5
commit 5bfadc6365
2 changed files with 5 additions and 1 deletions

4
TODO
View file

@ -12,3 +12,7 @@ other known problems:
- The DatePicker works only if you are logged in, which is mostly ok for /intern - The DatePicker works only if you are logged in, which is mostly ok for /intern
and there is no Date to insert at the moment in forms for externs. and there is no Date to insert at the moment in forms for externs.
other issues
- server error 500 in production after businesscards process. is this reproducable?

View file

@ -40,7 +40,7 @@ class Command(BaseCommand):
mail_template.render(context), mail_template.render(context),
IF_EMAIL, IF_EMAIL,
[email], [email],
bcc=[SURVEY_EMAIL, benni.baermann@wikimedia.de]) bcc=[SURVEY_EMAIL, 'benni.baermann@wikimedia.de'])
survey_mail.send(fail_silently=False) survey_mail.send(fail_silently=False)
except BadHeaderError: except BadHeaderError:
return HttpResponse('Invalid header found.') return HttpResponse('Invalid header found.')