1
0

2 Incheckningar d076da9ee8 ... 15fba18513

Upphovsman SHA1 Meddelande Datum
  DYaiu 15fba18513 treeAndTable init 4 år sedan
  DYaiu 72d3dbf246 '修改路由配置,适应前端base_url设置错误问题' 4 år sedan

+ 2 - 2
my_project/urls.py

@@ -19,6 +19,6 @@ from django.urls import path, include
 
 urlpatterns = [
     path('admin/', admin.site.urls),
-    url(r'^report/', include('workreport.urls')),
-    url(r'^tree/',include('workTtree.urls'))
+    url(r'^', include('workreport.urls')),
+    url(r'^',include('workTtree.urls'))
 ]

+ 0 - 0
treeAndTable/__init__.py


+ 3 - 0
treeAndTable/admin.py

@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.

+ 5 - 0
treeAndTable/apps.py

@@ -0,0 +1,5 @@
+from django.apps import AppConfig
+
+
+class TreeandtableConfig(AppConfig):
+    name = 'treeAndTable'

+ 0 - 0
treeAndTable/migrations/__init__.py


+ 3 - 0
treeAndTable/models.py

@@ -0,0 +1,3 @@
+from django.db import models
+
+# Create your models here.

+ 3 - 0
treeAndTable/tests.py

@@ -0,0 +1,3 @@
+from django.test import TestCase
+
+# Create your tests here.

+ 3 - 0
treeAndTable/views.py

@@ -0,0 +1,3 @@
+from django.shortcuts import render
+
+# Create your views here.