Django

Code

Changeset 7811

Show
Ignore:
Timestamp:
06/30/08 21:17:24 (2 months ago)
Author:
mtredinnick
Message:

Changed a documentation example that wasn't wrong to stop complaints.

Fixed #7544.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/templates.txt

    r7674 r7811  
    478478This means you would write :: 
    479479 
    480     {{ data|default:"3 > 2" }} 
     480    {{ data|default:"3 < 2" }} 
    481481 
    482482...rather than :: 
    483483 
    484     {{ data|default:"3 > 2" }}  <-- Bad! Don't do this. 
     484    {{ data|default:"3 < 2" }}  <-- Bad! Don't do this. 
    485485 
    486486This doesn't affect what happens to data coming from the variable itself.