How to exclude a part of a Django template file from processing?
<p>I have a Django template file that has a couple of <strong>enormous</strong> strings in it (images encoded in Base64). When I use the Django templating engine, it chokes and takes 5 minutes to render the template. Is there a way to exclude a part of a template, with something like:</p>

<pre><code>{% ignore %}
  &lt;img src='....'&gt;
{% endignore %}
</code></pre>

<p>Does this exist?</p>

<p>Use <strong><code>verbatim</code></strong> tag!</p>

<p>From django docs <a href="https://docs.djangoproject.com/en/dev/ref/templates/builtins/#verbatim" rel="nofollow">https://docs.djangoproject.com/en/dev/ref/templates/builtins/#verbatim</a></p>

<blockquote>
  <p><strong>verbatim</strong></p>
  
  <p>Stops the template engine from rendering the contents of this block
  tag.</p>
  
  <p>A common use is to allow a JavaScript template layer that collides
  with Djangoâs syntax. For example:</p>

<pre><code>{% verbatim %}
    {{if dying}}Still alive.{{/if}}
{% endverbatim %}
</code></pre>
</blockquote>

python django django-templates