Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django template filter

{% if somevar == "x" %}
  This appears if variable somevar equals the string "x"
{% endif %}
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #template #filter
ADD COMMENT
Topic
Name
5+9 =