changed form email contact

This commit is contained in:
Levi 2016-04-08 20:11:22 -05:00
parent ebe214d95b
commit 50a973c28d
1 changed files with 1 additions and 1 deletions

View File

@ -22,5 +22,5 @@ class ContactUsForm(forms.ModelForm):
html_content = render_to_string('emails/contact.html', {'data': self.cleaned_data})
email = EmailMultiAlternatives('Subject', text_content)
email.attach_alternative(html_content, "text/html")
email.to = ['to@example.com']
email.to = ['info@digitalglarus.ch']
email.send()