Change: Printing in Templates

created on Sept. 5, 2012, 8:31 p.m. by Hevok & updated on Oct. 14, 2012, 11:43 p.m. by Hevok

Whether variables get correctly passed to a template can be checked with printing: ::

{% if item %}
    {{ item }}
{% else %}
    Item was not passed #Debug
{% endif %}

Categories:
Parent: Web Framework

Comment: Updated Entry

See entry | Admin

Comment on This Data Unit