这是项目blog里面的url.py
from django.urls import pathfrom . import views urlpatterns = [ path('', views.index, name="index"), ]
这是根目录里面的url.py
from django.contrib import admin from django.urls import include, path urlpatterns = [ path('blog/', include('blog.urls')), path('admin/', admin.site.urls), ]
下面是报错信息
慕婉清6462132
茅侃侃