base.html (베이스html)
base.html - 거의 모든 html이 비슷한데? 비슷한 부분만 골라 만든 기본 html {% block html_header %} {% endblock %}: 상속개념 -바구니 templates에 만든다 -base.htm사용법 extends = 확장하다 , 상단에 {% extends 'base.html' %} {% block html_header %} {% endblock %} {% block html_body %} {% endblock %} ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ {% block html_body %} {% endblock %}
2021.07.28