Django多个app urls配置代码实例
快速测试创建项目与app django-admin startproject mysite django-admin startapp app1 django-admin startapp app2 mysite下的urls.py文件 from django.contrib import admin from django.urls import include, path urlpatterns = [ path('admin/', admin.site.urls), path('app1/', include('apps.app1.urls',namespace='app1
用户评论