1
0
Fork 0

stupid commit for test purposes

This commit is contained in:
Benni Bärmann 2021-04-14 15:34:05 +02:00
parent 5bfadc6365
commit 6b65626af4
2 changed files with 4 additions and 5 deletions

7
TODO
View File

@ -8,11 +8,10 @@ known bugs:
Wikimedia Deutschland bei Rückfragen oder für Wikimedia Deutschland bei Rückfragen oder für
die Zusage kontaktieren kann." maybe this this misleading? die Zusage kontaktieren kann." maybe this this misleading?
- if the mailserver is unavaiable we just produce "Server Error 500", which is not very telling.
There should maybe also a way to handle mails later if first delivery failed.
other known problems: 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=['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.')