django render_to_string missing information
<p>Why my email (in the body part) does not contain the message?</p>
<p>Here is my code:</p>
<pre><code>message = render_to_string('contact_template.txt', {'contact_name':   contact_name, 'contact_email': contact_email, 'form_content': content}, context_instance=RequestContext(request))
email = EmailMessage(&quot;New contact form submission&quot;, message, &quot;annadrybulska@gmail.com&quot; +'', ['annadrybulska@gmail.com'], headers = {'Reply-To': contact_email })
email.send()
</code></pre>
<p>My template (contact_template.txt), (all my received emails contained this, but no message) :</p>
<pre><code>Contact Name:


Email:


Content:
</code></pre>
<p>and my views:(I have to say it is intimidating...)</p>
<pre><code>from polls.forms import ContactForm
from django.core.mail import EmailMessage
from django.template import Context, Template, RequestContext
from django.shortcuts import render
from django.shortcuts import redirect
from django.core.mail import send_mail, BadHeaderError
from django.http import HttpResponse, HttpResponseRedirect
from django.template.loader import render_to_string, get_template

def index(request):
    return HttpResponse(&quot;Hello, world. You're at the poll index.&quot;)

def contact(request):
    form_class = ContactForm

    # logic!
    if request.method == 'POST':
        form = form_class(data=request.POST)

        if form.is_valid():
            contact_name = request.POST.get('contact_name', '')
            contact_email = request.POST.get('contact_email', '')
            content = request.POST.get('content', '')         
        
            message = render_to_string('contact_template.txt', {'contact_name': contact_name, 'contact_email': contact_email, 'form_content': content}, context_instance=RequestContext(request))
        
            email = EmailMessage(&quot;New contact form submission&quot;, message, &quot;annadrybulska@gmail.com&quot; +'', ['annadrybulska@gmail.com'], headers = {'Reply-To': contact_email })
            email.send()
            return redirect('contact')

    return render(request, 'contact.html', {'form': form_class,})
</code></pre>