Signals that the template extends a parent template.
{% extends %} Tag
signals that the template extends a parent template.
- Argument(s)
parent_template- Closing tag
- Not required
Documentation
More Utility Tags
block
Most useful
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
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
extends 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
The parent template marks its overridable regions with
blocktags; extending gives you those blocks to fill in.This is well documented under Template Inheritance in the official documentation.