ModuleNotFoundError: No module named 'main/urls'
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('main/urls')),
path('product', include('product/urls')),
path('qna', include('qna/urls')),
path('notice', include('notice/urls')),
]
tutorialdjango폴더 안의 urls.py에서 include안에 오타가 있었다.
모듈이기때문에 /가 아니라 .로 해줬어야했다.
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('main.urls')),
path('product', include('product.urls')),
path('qna', include('qna.urls')),
path('notice', include('notice.urls')),
]
settings.py확인,가 붙어있는지 살펴보자)urls.py 확인