1.总urls.py内容如下: from django.contrib import admin from django.urls import path from django.conf.urls import include from myblog import views urlpatterns = [ # path('admin/', admin.site.urls), path('', views.index), path('myblog/', include('myblog.urls…