op text sections added, from email fixed
This commit is contained in:
parent
8c37f02b91
commit
0616be9864
4 changed files with 112 additions and 32 deletions
|
|
@ -55,7 +55,9 @@ class ContactUsView(FormView):
|
|||
sender=form.cleaned_data.get('email')
|
||||
),
|
||||
'from_email': settings.DCL_SUPPORT_FROM_ADDRESS,
|
||||
'to': ['info@ungleich.ch'],
|
||||
'to': '{}@ungleich.ch'.format(
|
||||
self.request.POST.get('from_page', 'info')
|
||||
),
|
||||
'body': "\n".join(
|
||||
["%s=%s" % (k, v) for (k, v) in form.cleaned_data.items()]),
|
||||
'reply_to': [form.cleaned_data.get('email')],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue