# myapps > templates > index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>메인페이지</h1>
{% comment %} {{ image }} {% endcomment %}
<img src="{{ image }}" alt="">
{% comment %} <hr>
{{ df }}
<hr>
{{ df.columns }}
<hr>
{{ df.values }} {% endcomment %}
</body>
</html>
# 서버 켜서 출력 확인
save all
python manage.py runserver
http://127.0.0.1:8000/myapps/
'인공지능, 머신러닝 > Django + DataScience' 카테고리의 다른 글
[Django prac][weather graph] 5. 날씨 데이터 가져오기 (0) | 2024.04.05 |
---|---|
[Django prac][weather graph] 4. View에서 Template으로 이미지 전달하기 (0) | 2024.04.05 |
[Django prac][weather graph] 3. 경로 설정 (0) | 2024.04.05 |
[Django prac][weather graph] 2. 경로 설정 (0) | 2024.04.05 |
[Django prac][weather graph] 0. 전체적인 흐름 (0) | 2024.04.05 |