파이썬 django migrate runserver1 파이썬 Django Templates 파이썬 Django Templates Django 인트로 페이지에서는 결과물이 HTML로 되어 있어야 하고 템플릿으로 만들어져야 한다고 배웠기 때문에 그렇게 하도록 하겠다. 멤버 폴더 안에 템플릿 폴더를 만들고 myfirst.html이라는 HTML 파일을 만든다. 파일 구조는 다음과 같다: my_tennis_club manage.py my_tennis_club/ members/ templates/ myfirst.html HTML 파일을 열고 다음을 삽입한다: my_tennis_club/members/templates/myfirst.html: Hello World! Welcome to my first Django project! 파이썬 Django View 수정 views.py 파일을 열고 members .. 2024. 2. 12. 이전 1 다음