Jan Dittberner
de501cfdde
Django 1.9 deprecates passing a context directly to the render function in template loader. This commit creates a proper template rendering context before rendering the mails sent from the contact form.
5 lines
161 B
Text
5 lines
161 B
Text
User {{ name }} <{{ email }}> from IP address {{ remote_ip }}
|
|
sent the following message via the contact form at
|
|
{{ site }}{% url 'contact_form' %}:
|
|
|
|
{{ body }}
|