django template if equal int (1) 썸네일형 리스트형 django template if equal If it does not work if the door is an integerflowing change code: {% if codeInt1|add:0 == codeInt2|add:0 %} The default settings is a string. so This conversion is necessary to int. 이전 1 다음