1
0

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.