Remove duplicate mention of component tag.

This commit is contained in:
Emil Stenström 2024-02-11 23:15:50 +01:00 committed by Emil Stenström
parent edf3885632
commit eb5f5952ae

View file

@ -614,7 +614,7 @@ COMPONENTS = {
## Component context and scope
By default, components can access context variables from the parent template, just like templates that are included with the `{% include %}` tag. Just like with `{% include %}`, if you don't want the component template to have access to the parent context, add `only` to the end of the `{% component %}` (or `{% component %}{% endcomponent %}` tag):
By default, components can access context variables from the parent template, just like templates that are included with the `{% include %}` tag. Just like with `{% include %}`, if you don't want the component template to have access to the parent context, add `only` to the end of the `{% component %}` tag):
```htmldjango
{% component "calendar" date="2015-06-19" only %}{% endcomponent %}