From 13203e1de13afc571955f90ece263d8443a8f6da Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 8 Aug 2010 21:59:29 +0200 Subject: [PATCH] Added docs for comparisions --HG-- branch : trunk --- docs/templates.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/templates.rst b/docs/templates.rst index 2588f84..da943cc 100644 --- a/docs/templates.rst +++ b/docs/templates.rst @@ -985,6 +985,27 @@ but exists for completeness' sake. The following operators are supported: Raise the left operand to the power of the right operand. ``{{ 2**3 }}`` would return ``8``. +Comparisions +~~~~~~~~~~~~ + +== + Compares two objects for equality. + +!= + Compares two objects for inequality. + +> + `true` if the left hand side is greater than the right hand side. + +>= + `true` if the left hand side is greater or equal to the right hand side. + +< + `true` if the left hand side is lower than the right hand side. + +<= + `true` if the left hand side is lower or equal to the right hand side. + Logic ~~~~~ -- 2.26.2