Conditionals in Django templates work just like they do in Python. The syntax is: {% if some_conditions %} Output this block.
確定! 回上一頁