完善了一下serializers

This commit is contained in:
康家辉
2022-04-29 20:03:28 +08:00
parent b6a66a1457
commit 14a75d3fdd
8 changed files with 66 additions and 101 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Python 3.9 (ITShowPlatform)" jdkType="Python SDK" />
<orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
+1 -1
View File
@@ -5,7 +5,7 @@
<paths name="ITShowPlatform">
<serverdata>
<mappings>
<mapping deploy="/Django/ITShowPlatform" local="$PROJECT_DIR$" web="/" />
<mapping local="$PROJECT_DIR$" web="/" />
</mappings>
</serverdata>
</paths>
+1 -1
View File
@@ -3,5 +3,5 @@
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (ITShowPlatform)" project-jdk-type="Python SDK" />
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
</project>
+1 -1
View File
@@ -2,7 +2,7 @@
<project version="4">
<component name="SshConfigs">
<configs>
<sshConfig authType="PASSWORD" host="101.43.216.170" id="76af0150-1401-4711-9b33-6d0785afbecd" port="22" nameFormat="DESCRIPTIVE" username="root" />
<sshConfig authType="PASSWORD" connectionConfig="{&quot;serverAliveInterval&quot;:300}" host="101.43.216.170" id="76af0150-1401-4711-9b33-6d0785afbecd" port="22" nameFormat="DESCRIPTIVE" username="root" />
</configs>
</component>
</project>
+11 -73
View File
@@ -32,10 +32,15 @@
</component>
<component name="ChangeListManager">
<list default="true" id="81247df9-f070-428a-8ff8-85c1a06086e7" name="Default Changelist" comment="修改+合并前的提交">
<change beforePath="$PROJECT_DIR$/.idea/ITShowPlatform.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/ITShowPlatform.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/deployment.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/deployment.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/sshConfigs.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sshConfigs.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/ITShowPlatform/settings.py" beforeDir="false" afterPath="$PROJECT_DIR$/ITShowPlatform/settings.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/ITShowPlatform/urls.py" beforeDir="false" afterPath="$PROJECT_DIR$/ITShowPlatform/urls.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/history/urls.py" beforeDir="false" afterPath="$PROJECT_DIR$/history/urls.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/history/migrations/0001_initial.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/history/models.py" beforeDir="false" afterPath="$PROJECT_DIR$/history/models.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/history/serializers.py" beforeDir="false" afterPath="$PROJECT_DIR$/history/serializers.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/history/views.py" beforeDir="false" afterPath="$PROJECT_DIR$/history/views.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -67,7 +72,7 @@
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../IT_todo" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../pythonProject4" />
<property name="settings.editor.selected.configurable" value="web.server" />
</component>
<component name="RunManager">
@@ -165,74 +170,7 @@
<MESSAGE value="修改+合并前的提交" />
<option name="LAST_COMMIT_MESSAGE" value="修改+合并前的提交" />
</component>
<component name="WindowStateProjectService">
<state x="345" y="76" key="#SSH_Configurations" timestamp="1650645097799">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="345" y="76" key="#SSH_Configurations/0.0.1536.864@0.0.1536.864" timestamp="1650645097799" />
<state x="223" y="87" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1650644765641">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="223" y="87" key="#com.intellij.execution.impl.EditConfigurationsDialog/0.0.1536.864@0.0.1536.864" timestamp="1650644765641" />
<state x="93" y="93" width="1350" height="678" key="DiffContextDialog" timestamp="1650785927137">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="93" y="93" width="1350" height="678" key="DiffContextDialog/0.0.1536.864@0.0.1536.864" timestamp="1650785927137" />
<state x="549" y="187" key="FileChooserDialogImpl" timestamp="1650645368910">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="549" y="187" key="FileChooserDialogImpl/0.0.1536.864@0.0.1536.864" timestamp="1650645368910" />
<state x="615" y="398" key="Gitee.ShareDialog" timestamp="1650650539689">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="615" y="398" key="Gitee.ShareDialog/0.0.1536.864@0.0.1536.864" timestamp="1650650539689" />
<state x="615" y="342" key="Github.Dialog.Accounts.Choose" timestamp="1650187937570">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="615" y="342" key="Github.Dialog.Accounts.Choose/0.0.1536.864@0.0.1536.864" timestamp="1650187937570" />
<state width="1478" height="214" key="GridCell.Tab.0.bottom" timestamp="1650644913378">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state width="1478" height="214" key="GridCell.Tab.0.bottom/0.0.1536.864@0.0.1536.864" timestamp="1650644913378" />
<state width="1478" height="214" key="GridCell.Tab.0.center" timestamp="1650644913377">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state width="1478" height="214" key="GridCell.Tab.0.center/0.0.1536.864@0.0.1536.864" timestamp="1650644913377" />
<state width="1478" height="214" key="GridCell.Tab.0.left" timestamp="1650644913374">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state width="1478" height="214" key="GridCell.Tab.0.left/0.0.1536.864@0.0.1536.864" timestamp="1650644913374" />
<state width="1478" height="214" key="GridCell.Tab.0.right" timestamp="1650644913377">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state width="1478" height="214" key="GridCell.Tab.0.right/0.0.1536.864@0.0.1536.864" timestamp="1650644913377" />
<state x="147" y="69" key="MergeDialog" timestamp="1650785054273">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="147" y="69" key="MergeDialog/0.0.1536.864@0.0.1536.864" timestamp="1650785054273" />
<state x="396" y="185" key="MultipleFileMergeDialog" timestamp="1650903868503">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="396" y="185" key="MultipleFileMergeDialog/0.0.1536.864@0.0.1536.864" timestamp="1650903868503" />
<state x="270" y="76" key="SettingsEditor" timestamp="1650645549043">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="270" y="76" key="SettingsEditor/0.0.1536.864@0.0.1536.864" timestamp="1650645549043" />
<state x="361" y="161" key="Vcs.Push.Dialog.v2" timestamp="1650187932255">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="361" y="161" key="Vcs.Push.Dialog.v2/0.0.1536.864@0.0.1536.864" timestamp="1650187932255" />
<state x="563" y="345" key="com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2" timestamp="1650784772214">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="563" y="345" key="com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2/0.0.1536.864@0.0.1536.864" timestamp="1650784772214" />
<state x="1000" y="164" key="ftp.server.browser" timestamp="1650645530053">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="1000" y="164" key="ftp.server.browser/0.0.1536.864@0.0.1536.864" timestamp="1650645530053" />
<state x="520" y="210" key="git4idea.merge.GitMergeDialog" timestamp="1650785115917">
<screen x="0" y="0" width="1536" height="864" />
</state>
<state x="520" y="210" key="git4idea.merge.GitMergeDialog/0.0.1536.864@0.0.1536.864" timestamp="1650785115917" />
<component name="com.intellij.coverage.CoverageDataManagerImpl">
<SUITE FILE_PATH="coverage/ITShowPlatform$urls.coverage" NAME="urls Coverage Results" MODIFIED="1650768597611" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/history" />
</component>
</project>