minor #4787 Reword parent-child analogy in doc/tags/extends.rst (llupa)

This PR was merged into the 3.x branch.

Discussion
----------

Reword parent-child analogy in `doc/tags/extends.rst`

Commits
-------

64a70e96a6 Replace parent-child analogy in `doc/tags/extends.rst`
This commit is contained in:
Fabien Potencier
2026-04-11 11:27:40 +02:00
+2 -2
View File
@@ -71,8 +71,8 @@ value from the parent template is used instead.
You can't define multiple ``block`` tags with the same name in the same
template. This limitation exists because a block tag works in "both"
directions. That is, a block tag doesn't just provide a hole to fill - it also
defines the content that fills the hole in the *parent*. If there were two
directions. That is, a block tag doesn't just provide a slot to fill - it also
defines the content that fills the slot in the *parent*. If there were two
similarly-named ``block`` tags in a template, that template's parent wouldn't
know which one of the blocks' content to use.