728x90 View1 [Django] 4. Django 앱 작성하기 part.3 (View 확인하기) https://docs.djangoproject.com/ko/5.0/intro/tutorial03/ 첫 번째 장고 앱 작성하기, part 3 | Django 문서The web framework for perfectionists with deadlines.docs.djangoproject.com 뷰 추가하기를 따라서 각각의 뷰를 추가하고나서 path를 다음과 같이 설정하도록 안내되어있다.from django.urls import pathfrom . import viewsurlpatterns = [ # ex: /polls/ path("", views.index, name="index"), # ex: /polls/5/ path("/", views.detail, name="detail"),.. 2024. 7. 21. 이전 1 다음 728x90