What is django #1
a web application framework built with python
comes baked with many cool features to help with
allows us to eassily create dynamic web apps using python
Django(blog) tutorial #2
django-admin startproject project-name
init.py
settings.py
urls.py
manage.py
Django tutorial #3 - URLs and Views
views response to browser
browser request to /about urls.py
urls.py
urls.py 안에 주소들이 담기고 그 주소에 해당하는 views를 보여주기 위해서
import . from views 를 해주고 .은 같은 디렉토리를 의미한다.
그 후에 views.py안에다 함수를 만들고 각 함수를 원하는 url이 호출 될때 함수를 실행하도록 설정해준다.
django templates에 html파일 실행 오류시