---
title: '{% verbatim %}'
description: turn off template rendering.
date: '2026-08-02'
categories:
  - Template Tag
  - Coding
canonical: https://coolify.djangotemplatetagsandfilters.com/tags/verbatim/
doc_link: https://docs.djangoproject.com/en/6.0/ref/templates/builtins/#verbatim
---

# {% verbatim %}

turn off template rendering.

## Documentation

Template rendering is turned off between open `{% verbatim blockname %}` and closing `{% endverbatim blockname %}`.

### Template

```django
{% verbatim %}
  {% comment "Should we include this?" %}
    <small class="text-muted">
      Created on: {{ joke.created }}
      Last updated: {{ joke.updated }}
    </small>
  {% endcomment %}
{% endverbatim %}
```

### Result

```django
{% comment "Should we include this?" %}
<small class="text-muted">
  Created on: {{ joke.created }}
  Last updated: {{ joke.updated }}
</small>
{% endcomment %}
```

Notice that the Django template tags are output literally (i.e., *verbatim*).

## Commentary

Hard to think of a use case for this.
