From 7d06e6464591040fd6210f2ee91bac52a7b4d38c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=B7=E5=AE=B6=E8=BE=89?= Date: Sun, 24 Apr 2022 17:56:23 +0800 Subject: [PATCH] 1 --- .idea/ITShowPlatform.iml | 20 ---- .idea/dataSources.xml | 12 ++ .idea/inspectionProfiles/Project_Default.xml | 43 +++++++- .idea/misc.xml | 4 +- .idea/workspace.xml | 105 ++++++++++++++++-- ITShowPlatform/settings.py | 9 +- ITShowPlatform/urls.py | 5 + history/admin.py | 6 +- history/apps.py | 2 +- history/migrations/0001_initial.py | 45 +++++++- history/migrations/0002_alter_history_img.py | 18 --- history/migrations/0003_alter_history_img.py | 18 --- history/models.py | 40 ++++++- history/serializers.py | 78 +++++++++++-- history/urls.py | 9 +- history/views.py | 109 ++++++++++++++----- 16 files changed, 384 insertions(+), 139 deletions(-) create mode 100644 .idea/dataSources.xml delete mode 100644 history/migrations/0002_alter_history_img.py delete mode 100644 history/migrations/0003_alter_history_img.py diff --git a/.idea/ITShowPlatform.iml b/.idea/ITShowPlatform.iml index 20babcd..d0876a7 100644 --- a/.idea/ITShowPlatform.iml +++ b/.idea/ITShowPlatform.iml @@ -1,28 +1,8 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..77fc973 --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,12 @@ + + + + + mysql.8 + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://localhost:3306/ITStudio + $ProjectFileDir$ + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 3dc583b..bced134 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,11 +1,48 @@