add another example
authorEugene Wolfson <evulfson@gmail.com>
Tue, 18 Oct 2011 22:47:02 +0000 (19:47 -0300)
committeryegeniy <evulfson@gmail.com>
Sat, 22 Oct 2011 13:27:23 +0000 (09:27 -0400)
add another example to constant.rst

doc/functions/constant.rst

index 68ab2cf..5b247b3 100644 (file)
@@ -6,3 +6,4 @@
 .. code-block:: jinja
 
     {{ some_date|date(constant('DATE_W3C')) }}
+    {{ constant('Namespace\\Classname::CONSTANT_NAME') }}