3주차 Day 1. html 동적 구문Django 템플릿을 사용하는 경우,{% %} , {{ }} 과 같이 사용하며 HTML 내에 동적인 구문을 삽입할 수 있게 하는 역할을 함.{{ }} : 단순 변수 출력{% %} : if, for문 등 로직을 실행.{% for user in top_users %} {{ user.rank }} {{ user.username }} {{ user.win }} {{ user.lose }} {{ user.draw }} TIL 2024.07.08