diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-01 02:17:24 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-01 02:17:24 +0000 |
| commit | a75de3f3429654271ab63fddab1a8b13440a00de (patch) | |
| tree | efb6823a57553b2a83e7227d377212b6c1836498 /docs | |
| parent | 8cb128e57c08de54e8947a00f0d17fd02bff90df (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/templates.txt | 4 |
1 files 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 |
