---
title: '{% block %}'
description: delineates a block of content that can be overwritten in child templates.
date: '2026-08-02'
categories:
  - Template Tag
  - Utility
canonical: https://coolify.djangotemplatetagsandfilters.com/tags/block/
doc_link: https://docs.djangoproject.com/en/6.0/ref/templates/builtins/#block
---

# {% block %}

delineates a block of content that can be overwritten in child templates.

## Documentation

Delineates a block of content that can be overwritten in child templates.

## Commentary

A block only does anything in a template another one [`extends`](/tags/extends/): the parent lays out the blocks, the child overrides the ones it cares about.

This is well documented under [Template Inheritance in the official documentation](https://docs.djangoproject.com/en/6.0/ref/templates/language/#template-inheritance).
