2 커밋 d076da9ee8 ... 15fba18513

작성자 SHA1 메시지 날짜
  DYaiu 15fba18513 treeAndTable init 4 년 전
  DYaiu 72d3dbf246 '修改路由配置,适应前端base_url设置错误问题' 4 년 전
8개의 변경된 파일19개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      my_project/urls.py
  2. 0 0
      treeAndTable/__init__.py
  3. 3 0
      treeAndTable/admin.py
  4. 5 0
      treeAndTable/apps.py
  5. 0 0
      treeAndTable/migrations/__init__.py
  6. 3 0
      treeAndTable/models.py
  7. 3 0
      treeAndTable/tests.py
  8. 3 0
      treeAndTable/views.py

+ 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.