title: Django: request.session in templates
body: <p>I am trying to get {{ request.session.something }} work in Django templates ( with TemplateResponse ).</p>
  
  <p>Here are a bit of information I've found so far:</p>
  
  <ul>
  <li>First of all, I have "django.template.context_processors.request" included in my settings ( Django 1.9 ).</li>
  <li>If I use render from django.shortcuts then {{ request.session.something }} perfectly works in templates</li>
  <li>I need to use TemplateResponse, because I have a middleware and I need "process_request" and "process_template_response" to be called ( if I recall, "process_template_response" doesn't work with render from django.shortcuts )</li>
  </ul>
  
  <p>Any suggestions what might be the problem?</p>
  
  <p>The view code ( nothing special ):</p>
  
  <pre><code>from django.template.response import TemplateResponse as render
  def coming_soon(request):
      return render(request, 'app/coming-soon.html', None)
  </code></pre>
  
  <p>Thank you in advance!
  Any help would be highly appreciated!</p>