Fixed #33067 -- Improved templatetag docs.
This commit is contained in:
parent
68b8eda788
commit
f1d2d2679b
|
@ -1054,8 +1054,9 @@ this example, the space around ``Hello`` won't be stripped::
|
||||||
|
|
||||||
Outputs one of the syntax characters used to compose template tags.
|
Outputs one of the syntax characters used to compose template tags.
|
||||||
|
|
||||||
Since the template system has no concept of "escaping", to display one of the
|
The template system has no concept of "escaping" individual characters.
|
||||||
bits used in template tags, you must use the ``{% templatetag %}`` tag.
|
However, you can use the ``{% templatetag %}`` tag to display one of the
|
||||||
|
template tag character combinations.
|
||||||
|
|
||||||
The argument tells which template bit to output:
|
The argument tells which template bit to output:
|
||||||
|
|
||||||
|
@ -1074,7 +1075,10 @@ Argument Outputs
|
||||||
|
|
||||||
Sample usage::
|
Sample usage::
|
||||||
|
|
||||||
{% templatetag openblock %} url 'entry_list' {% templatetag closeblock %}
|
The {% templatetag openblock %} characters open a block.
|
||||||
|
|
||||||
|
See also the :ttag:`verbatim` tag for another way of including these
|
||||||
|
characters.
|
||||||
|
|
||||||
.. templatetag:: url
|
.. templatetag:: url
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue