title: Heroku - Django raise TemplateDoesNotExist(name) exception, but template is not needed in requested action
body: <p>I got a strange heroku behavior.</p>
  
  <p>My code:</p>
  
  <pre><code>def generate(request, page_id):
      page = get_object_or_404(Page, pk=page_id)
  
      response = HttpResponse(page.content)
      response['Content-Type'] = 'text/plain'
  
      return response 
  </code></pre>
  
  <p>works as I expect on dev, but on heroku it raises an exception</p>
  
  <pre><code>GET test.herokuapp.com/generate/1 dyno=web.1 queue=0 wait=0ms service=908ms status=500 bytes=59
  2012-07-29T19:20:06+00:00 app[web.1]:     raise TemplateDoesNotExist(name)
  2012-07-29T19:20:06+00:00 app[web.1]: TemplateDoesNotExist: 500.html
  </code></pre>
  
  <p>and returns proper output ;) Only this one action is wrong. Other actions where I use </p>
  
  <pre><code>return render_to_response('front/home.html')
  </code></pre>
  
  <p>are Ok. What could be wrong? </p>