Browse Source

Fixed #33067 -- Improved templatetag docs.

Muhammad Hammad 3 years ago
parent
commit
f1d2d2679b
1 changed files with 7 additions and 3 deletions
  1. 7 3
      docs/ref/templates/builtins.txt

+ 7 - 3
docs/ref/templates/builtins.txt

@@ -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.
 
-Since the template system has no concept of "escaping", to display one of the
-bits used in template tags, you must use the ``{% templatetag %}`` tag.
+The template system has no concept of "escaping" individual characters.
+However, you can use the ``{% templatetag %}`` tag to display one of the
+template tag character combinations.
 
 The argument tells which template bit to output:
 
@@ -1074,7 +1075,10 @@ Argument            Outputs
 
 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