diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index d8f76dc680..2a73d56fb3 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1434,7 +1434,8 @@ then the output would be: ] You can also do more complicated things like:: - {{ for book in books|dictsort:"author.age" + + {% for book in books|dictsort:"author.age" %} * {{ book.title }} ({{ book.author.name }}) {% endfor %}