From a75de3f3429654271ab63fddab1a8b13440a00de Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Tue, 1 Jul 2008 02:17:24 +0000 Subject: [PATCH] Changed a documentation example that wasn't wrong to stop complaints. Fixed #7544. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7811 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/templates.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/templates.txt b/docs/templates.txt index 3a557c1476..04a46580c5 100644 --- a/docs/templates.txt +++ b/docs/templates.txt @@ -477,11 +477,11 @@ escaped when the template is written. This means you would write :: - {{ data|default:"3 > 2" }} + {{ data|default:"3 < 2" }} ...rather than :: - {{ data|default:"3 > 2" }} <-- Bad! Don't do this. + {{ data|default:"3 < 2" }} <-- Bad! Don't do this. This doesn't affect what happens to data coming from the variable itself. The variable's contents are still automatically escaped, if necessary, because