Skip to content

Commit 7ea0379

Browse files
author
Alexander Smishlajev
committed
"Information available to templates": 'true' and 'false' constants
1 parent c57e726 commit 7ea0379

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/customizing.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Customising Roundup
33
===================
44

5-
:Version: $Revision: 1.139 $
5+
:Version: $Revision: 1.140 $
66

77
.. This document borrows from the ZopeBook section on ZPT. The original is at:
88
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -1595,6 +1595,9 @@ The following variables are available to templates.
15951595

15961596
<span>Hello, World!</span>
15971597

1598+
**true**, **false**
1599+
Boolean constants that may be used in `templating expressions`_
1600+
instead of ``python:1`` and ``python:0``.
15981601

15991602
The context variable
16001603
~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)