mirror of
https://github.com/django-components/django-components.git
synced 2025-08-04 06:18:17 +00:00
Remove duplicate mention of component tag.
This commit is contained in:
parent
edf3885632
commit
eb5f5952ae
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue