add another example

add another example to constant.rst
This commit is contained in:
Eugene Wolfson
2011-10-18 19:47:02 -03:00
committed by yegeniy
parent d10966132b
commit cf03a65e8b
+1
View File
@@ -6,3 +6,4 @@
.. code-block:: jinja
{{ some_date|date(constant('DATE_W3C')) }}
{{ constant('Namespace\\Classname::CONSTANT_NAME') }}