Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add a number to a variable in django template

#install mathfilter package first. then :
{% load mathfilters %}
{{ num1 | addition:num2 }}
 
PREVIOUS NEXT
Tagged: #add #number #variable #django #template
ADD COMMENT
Topic
Name
2+6 =