更改表结构

This commit is contained in:
ygm1881
2022-05-09 12:11:01 +08:00
parent feac79096d
commit 108cffff31
52 changed files with 103 additions and 84 deletions
+10
View File
@@ -0,0 +1,10 @@
from django.conf.urls.static import static
from ITShowPlatform import settings
from django.urls import path
from apps.history.views import DepartmentViewSet, MemberViewSet, HistoryViewSet
urlpatterns = [
path('department/', DepartmentViewSet.as_view()),
path('member/', MemberViewSet.as_view()),
path('history/', HistoryViewSet.as_view()),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)