0

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?
naveen
  • 223
  • 1
  • 2
  • 11

0 Answers0