Ticket #7417: admindoc.diff
| File admindoc.diff, 0.6 kB (added by robvdl, 5 months ago) |
|---|
-
djangopatch/django/template/defaulttags.py
old new 683 683 """ 684 684 The ``{% if %}`` tag evaluates a variable, and if that variable is "true" 685 685 (i.e. exists, is not empty, and is not a false boolean value) the contents 686 of the block are output: :686 of the block are output: 687 687 688 :: 689 688 690 {% if athlete_list %} 689 691 Number of athletes: {{ athlete_list|count }} 690 692 {% else %}
