From 68fd93e7f4866cd6b8da9088bfd72aa519c7119e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E9=87=8E?= <345031365@qq.com> Date: Mon, 8 Jul 2019 09:54:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electronics/admin/urls.py | 7 +++++++ electronics/electronics/urls.py | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 electronics/admin/urls.py diff --git a/electronics/admin/urls.py b/electronics/admin/urls.py new file mode 100644 index 0000000..31dec35 --- /dev/null +++ b/electronics/admin/urls.py @@ -0,0 +1,7 @@ + +from django.urls import path + +urlpatterns = [ + + +] diff --git a/electronics/electronics/urls.py b/electronics/electronics/urls.py index 76d6f79..4e7a2e9 100644 --- a/electronics/electronics/urls.py +++ b/electronics/electronics/urls.py @@ -17,5 +17,6 @@ from django.contrib import admin from django.urls import path,include urlpatterns = [ - path('admin/', admin.site.urls), + path('admin/', include('admin.urls')), + ] -- Gitee