Delineates a block of content that can be overwritten in child templates.
{% block %} Tag
delineates a block of content that can be overwritten in child templates.
- Argument(s)
block_name- Closing tag
-
Required —
{% endblock %}
Documentation
More Utility Tags
blocktrans
Needs {% load i18n %}
blocktranslate
Needs {% load i18n %}
Most useful
cache
Needs {% load cache %}
Most useful
comment
Most useful
csp_nonce_attr
New in Django 6.1
csrf_token
Most useful
debug
extends
Most useful
filter
get_available_languages
Needs {% load i18n %}
get_current_language
Needs {% load i18n %}
get_current_language_bidi
Needs {% load i18n %}
get_language_info
Needs {% load i18n %}
get_language_info_list
Needs {% load i18n %}
get_media_prefix
Needs {% load static %}
get_static_prefix
Needs {% load static %}
include
Most useful
language
Needs {% load i18n %}
load
Most useful
lorem
now
partial
New in Django 6.0
Most useful
partialdef
New in Django 6.0
Most useful
querystring
New in Django 5.1
Most useful
regroup
static
Needs {% load static %}
Most useful
trans
Needs {% load i18n %}
translate
Needs {% load i18n %}
Most useful
url
Most useful
Did we get something wrong? Is there a use case for the
block tag that we should add? Please let us know.
Official Documentation
This page last updated on August 2, 2026
This page last updated on August 2, 2026

Commentary
A block only does anything in a template another one
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.