Used to output the path to the view mapping to urlname as defined in the URLConf file.
{% url %} Tag
used to output the path to the view mapping to urlname as defined in the URLConf file.
- Closing tag
- Not required
Documentation
More Utility Tags
block
Most useful
comment
Most useful
csp_nonce_attr
New in Django 6.1
csrf_token
Most useful
debug
extends
Most useful
filter
include
Most useful
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
Did we get something wrong? Is there a use case for the
url 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
This is a big topic. See the official documentation on the url tag and on URL dispatcher.