Can we create a variable using set in django template?
like this
{% set isfound = False %}
if so I am getting this error
Invalid block tag on line: 'set', expected 'empty' or 'endfor'. Did you forget to register or load
this tag?
Can we create a variable using set in django template?
like this
{% set isfound = False %}
if so I am getting this error
Invalid block tag on line: 'set', expected 'empty' or 'endfor'. Did you forget to register or load
this tag?