title: Django setting for default template tag output when variable is None?
body: <p>I am looking for a django setting or programmatic way to make all django template tags show the empty string when the value is None. For example, imagine that I have some django template:</p>
  
  <pre><code>{{cat}} chases {{mouse}}
  </code></pre>
  
  <p>if both cat and mouse are None, it will render as:</p>
  
  <pre><code>None chases None
  </code></pre>
  
  <p>I am aware that I can set each one using <code>{{cat|default:""}}</code> or <code>{{mouse|default_if_none:""}}</code></p>
  
  <p>However, I am looking for some sort of setting that would allow me to set the default for all tags, without explicitly adding <code>|default:""</code> to every tag.</p>
  
  <p>I am also aware of a setting called <code>TEMPLATE_STRING_IF_INVALID</code>. However, this setting applies only to invalid strings. None is considered valid. </p>