title: How to see exception generated into django template variable?
body: <p>Inside a Django template, one can call an object method like this :</p>
  
  <pre><code>{{ my_object.my_method }}
  </code></pre>
  
  <p>The problem is when you get an exception/bug in 'def my_method(self)', it is hidden when rendering the template (there is an empty string output instead, so no errors appears).</p>
  
  <p>As I want to debug what's wrong in 'def my_method(self)', I would like to turn on something like a global django flag to receive such exception. </p>
  
  <p>in settings.py, I already have </p>
  
  <pre><code>DEBUG = True 
  TEMPLATE_DEBUG = True
  </code></pre>
  
  <p>I can receive many kind of template exceptions, but none when I trig an object method.</p>
  
  <p>What can I do ?</p>