From 8e83af7e9904433fd26dcc68eb0eb4d7f4999862 Mon Sep 17 00:00:00 2001 From: David Wilemski Date: Tue, 23 Aug 2011 23:14:08 -0400 Subject: [PATCH] Fixed typo in template documentation --- tornado/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/template.py b/tornado/template.py index 29c61c421..4a88999ed 100644 --- a/tornado/template.py +++ b/tornado/template.py @@ -57,7 +57,7 @@ interesting. Syntax for the templates:: Unlike most other template systems, we do not put any restrictions on the expressions you can include in your statements. if and for blocks get -translated exactly into Python, do you can do complex expressions like:: +translated exactly into Python, you can do complex expressions like:: {% for student in [p for p in people if p.student and p.age > 23] %}
  • {{ escape(student.name) }}
  • -- 2.47.2