템플릿 상속이란? 1. 반복되는 html 내용(ex: Navbar, CDN)을 base.html에 담고 2. 해당 html 내용이 필요한 html 에서 이를 불러온다. 1. templates 폴더에 base.html 생성 2. base.html 에 중복되는 코드를 넣어준다. {% block contents %} {% endblock %} base.html {% load static %} Toggle navigation Home Pastime PostPastime Place PostPlace Music PostMusic Photo About Me {% block contents %} {% endblock %} Copyright 2015. All rights reserved. Theme made by MOO..