gggg
This commit is contained in:
Generated
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
<component name="TemplatesService">
|
<component name="TemplatesService">
|
||||||
|
|||||||
Generated
+1
-1
@@ -3,5 +3,5 @@
|
|||||||
<component name="JavaScriptSettings">
|
<component name="JavaScriptSettings">
|
||||||
<option name="languageLevel" value="ES6" />
|
<option name="languageLevel" value="ES6" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (ITShowPlatform)" project-jdk-type="Python SDK" />
|
||||||
</project>
|
</project>
|
||||||
Generated
+41
-24
@@ -26,13 +26,17 @@
|
|||||||
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||||
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||||
<item name="GROUP_NODE:gitee" type="e8cecc67:BranchNodeDescriptor" />
|
<item name="GROUP_NODE:gitee" type="e8cecc67:BranchNodeDescriptor" />
|
||||||
<item name="BRANCH:gitee/enroll" type="e8cecc67:BranchNodeDescriptor" />
|
<item name="BRANCH:gitee/master" type="e8cecc67:BranchNodeDescriptor" />
|
||||||
</path>
|
</path>
|
||||||
</select>
|
</select>
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="81247df9-f070-428a-8ff8-85c1a06086e7" name="Default Changelist" comment="增加了util里的get_error_msg">
|
<list default="true" id="81247df9-f070-428a-8ff8-85c1a06086e7" name="Default Changelist" comment="测试一下gitignore">
|
||||||
<change beforePath="$PROJECT_DIR$/ITShowPlatform/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/ITShowPlatform/.gitignore" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/ITShowPlatform.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/ITShowPlatform.iml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.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/config.ini" beforeDir="false" afterPath="$PROJECT_DIR$/ITShowPlatform/config.ini" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/ITShowPlatform/settings.py" beforeDir="false" afterPath="$PROJECT_DIR$/ITShowPlatform/settings.py" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@@ -92,9 +96,9 @@
|
|||||||
<envs>
|
<envs>
|
||||||
<env name="PYTHONUNBUFFERED" value="1" />
|
<env name="PYTHONUNBUFFERED" value="1" />
|
||||||
</envs>
|
</envs>
|
||||||
<option name="SDK_HOME" value="" />
|
<option name="SDK_HOME" value="C:\Users\PBDELL\Desktop\Django\ITShowPlatform\venv\Scripts\python.exe" />
|
||||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/ITShowPlatform" />
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/ITShowPlatform" />
|
||||||
<option name="IS_MODULE_SDK" value="true" />
|
<option name="IS_MODULE_SDK" value="false" />
|
||||||
<option name="ADD_CONTENT_ROOTS" value="true" />
|
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||||
<option name="ADD_SOURCE_ROOTS" value="true" />
|
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
|
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
|
||||||
@@ -115,9 +119,9 @@
|
|||||||
<env name="PYTHONUNBUFFERED" value="1" />
|
<env name="PYTHONUNBUFFERED" value="1" />
|
||||||
<env name="DJANGO_SETTINGS_MODULE" value="ITShowPlatform.settings" />
|
<env name="DJANGO_SETTINGS_MODULE" value="ITShowPlatform.settings" />
|
||||||
</envs>
|
</envs>
|
||||||
<option name="SDK_HOME" value="" />
|
<option name="SDK_HOME" value="C:\Users\PBDELL\Desktop\Django\ITShowPlatform\venv\Scripts\python.exe" />
|
||||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||||
<option name="IS_MODULE_SDK" value="true" />
|
<option name="IS_MODULE_SDK" value="false" />
|
||||||
<option name="ADD_CONTENT_ROOTS" value="true" />
|
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||||
<option name="ADD_SOURCE_ROOTS" value="true" />
|
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||||
<option name="launchJavascriptDebuger" value="false" />
|
<option name="launchJavascriptDebuger" value="false" />
|
||||||
@@ -181,7 +185,8 @@
|
|||||||
<workItem from="1651065854470" duration="1813000" />
|
<workItem from="1651065854470" duration="1813000" />
|
||||||
<workItem from="1651738641048" duration="6482000" />
|
<workItem from="1651738641048" duration="6482000" />
|
||||||
<workItem from="1651751601855" duration="3860000" />
|
<workItem from="1651751601855" duration="3860000" />
|
||||||
<workItem from="1651755972039" duration="103000" />
|
<workItem from="1651755972039" duration="916000" />
|
||||||
|
<workItem from="1651758240545" duration="1554000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="fix">
|
<task id="LOCAL-00001" summary="fix">
|
||||||
<created>1650187914913</created>
|
<created>1650187914913</created>
|
||||||
@@ -211,7 +216,14 @@
|
|||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1651748255265</updated>
|
<updated>1651748255265</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="5" />
|
<task id="LOCAL-00005" summary="测试一下gitignore">
|
||||||
|
<created>1651756162372</created>
|
||||||
|
<option name="number" value="00005" />
|
||||||
|
<option name="presentableId" value="LOCAL-00005" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1651756162373</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="6" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TypeScriptGeneratedFilesManager">
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
@@ -228,7 +240,7 @@
|
|||||||
<entry key="branch">
|
<entry key="branch">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="gitee/enroll" />
|
<option value="gitee/master" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -247,13 +259,14 @@
|
|||||||
<MESSAGE value="修改+合并前的提交" />
|
<MESSAGE value="修改+合并前的提交" />
|
||||||
<MESSAGE value="重构了app" />
|
<MESSAGE value="重构了app" />
|
||||||
<MESSAGE value="增加了util里的get_error_msg" />
|
<MESSAGE value="增加了util里的get_error_msg" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="增加了util里的get_error_msg" />
|
<MESSAGE value="测试一下gitignore" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="测试一下gitignore" />
|
||||||
</component>
|
</component>
|
||||||
<component name="WindowStateProjectService">
|
<component name="WindowStateProjectService">
|
||||||
<state x="460" y="12" key="#ITShowPlatform" timestamp="1651644593580">
|
<state x="460" y="12" key="#ITShowPlatform" timestamp="1651756623485">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
<state x="460" y="12" key="#ITShowPlatform/0.0.1536.864@0.0.1536.864" timestamp="1651644593580" />
|
<state x="460" y="12" key="#ITShowPlatform/0.0.1536.864@0.0.1536.864" timestamp="1651756623485" />
|
||||||
<state x="345" y="76" key="#SSH_Configurations" timestamp="1650645097799">
|
<state x="345" y="76" key="#SSH_Configurations" timestamp="1650645097799">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
@@ -266,6 +279,10 @@
|
|||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
<state x="489" y="228" key="#com.intellij.fileTypes.FileTypeChooser/0.0.1536.864@0.0.1536.864" timestamp="1651753494236" />
|
<state x="489" y="228" key="#com.intellij.fileTypes.FileTypeChooser/0.0.1536.864@0.0.1536.864" timestamp="1651753494236" />
|
||||||
|
<state x="460" y="19" key="#settings" timestamp="1651756900069">
|
||||||
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
|
</state>
|
||||||
|
<state x="460" y="19" key="#settings/0.0.1536.864@0.0.1536.864" timestamp="1651756900069" />
|
||||||
<state x="93" y="93" width="1350" height="678" key="DiffContextDialog" timestamp="1650785927137">
|
<state x="93" y="93" width="1350" height="678" key="DiffContextDialog" timestamp="1650785927137">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
@@ -282,22 +299,22 @@
|
|||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
<state x="615" y="342" key="Github.Dialog.Accounts.Choose/0.0.1536.864@0.0.1536.864" timestamp="1650187937570" />
|
<state x="615" y="342" key="Github.Dialog.Accounts.Choose/0.0.1536.864@0.0.1536.864" timestamp="1650187937570" />
|
||||||
<state width="1493" height="216" key="GridCell.Tab.0.bottom" timestamp="1651755221112">
|
<state width="1493" height="216" key="GridCell.Tab.0.bottom" timestamp="1651756900501">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
<state width="1493" height="216" key="GridCell.Tab.0.bottom/0.0.1536.864@0.0.1536.864" timestamp="1651755221112" />
|
<state width="1493" height="216" key="GridCell.Tab.0.bottom/0.0.1536.864@0.0.1536.864" timestamp="1651756900501" />
|
||||||
<state width="1493" height="216" key="GridCell.Tab.0.center" timestamp="1651755221111">
|
<state width="1493" height="216" key="GridCell.Tab.0.center" timestamp="1651756900499">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
<state width="1493" height="216" key="GridCell.Tab.0.center/0.0.1536.864@0.0.1536.864" timestamp="1651755221111" />
|
<state width="1493" height="216" key="GridCell.Tab.0.center/0.0.1536.864@0.0.1536.864" timestamp="1651756900499" />
|
||||||
<state width="1493" height="216" key="GridCell.Tab.0.left" timestamp="1651755221111">
|
<state width="1493" height="216" key="GridCell.Tab.0.left" timestamp="1651756900498">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
<state width="1493" height="216" key="GridCell.Tab.0.left/0.0.1536.864@0.0.1536.864" timestamp="1651755221111" />
|
<state width="1493" height="216" key="GridCell.Tab.0.left/0.0.1536.864@0.0.1536.864" timestamp="1651756900497" />
|
||||||
<state width="1493" height="216" key="GridCell.Tab.0.right" timestamp="1651755221112">
|
<state width="1493" height="216" key="GridCell.Tab.0.right" timestamp="1651756900500">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
<state width="1493" height="216" key="GridCell.Tab.0.right/0.0.1536.864@0.0.1536.864" timestamp="1651755221112" />
|
<state width="1493" height="216" key="GridCell.Tab.0.right/0.0.1536.864@0.0.1536.864" timestamp="1651756900500" />
|
||||||
<state width="1493" height="269" key="GridCell.Tab.1.bottom" timestamp="1651745777781">
|
<state width="1493" height="269" key="GridCell.Tab.1.bottom" timestamp="1651745777781">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
@@ -326,10 +343,10 @@
|
|||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
<state x="270" y="76" key="SettingsEditor/0.0.1536.864@0.0.1536.864" timestamp="1651753942877" />
|
<state x="270" y="76" key="SettingsEditor/0.0.1536.864@0.0.1536.864" timestamp="1651753942877" />
|
||||||
<state x="361" y="161" key="Vcs.Push.Dialog.v2" timestamp="1651748975959">
|
<state x="361" y="161" key="Vcs.Push.Dialog.v2" timestamp="1651758561741">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
<state x="361" y="161" key="Vcs.Push.Dialog.v2/0.0.1536.864@0.0.1536.864" timestamp="1651748975959" />
|
<state x="361" y="161" key="Vcs.Push.Dialog.v2/0.0.1536.864@0.0.1536.864" timestamp="1651758561741" />
|
||||||
<state x="93" y="93" width="1350" height="678" key="com.intellij.history.integration.ui.views.FileHistoryDialog" timestamp="1651645036813">
|
<state x="93" y="93" width="1350" height="678" key="com.intellij.history.integration.ui.views.FileHistoryDialog" timestamp="1651645036813">
|
||||||
<screen x="0" y="0" width="1536" height="864" />
|
<screen x="0" y="0" width="1536" height="864" />
|
||||||
</state>
|
</state>
|
||||||
@@ -348,6 +365,6 @@
|
|||||||
<state x="520" y="210" key="git4idea.merge.GitMergeDialog/0.0.1536.864@0.0.1536.864" timestamp="1650785115917" />
|
<state x="520" y="210" key="git4idea.merge.GitMergeDialog/0.0.1536.864@0.0.1536.864" timestamp="1650785115917" />
|
||||||
</component>
|
</component>
|
||||||
<component name="com.intellij.coverage.CoverageDataManagerImpl">
|
<component name="com.intellij.coverage.CoverageDataManagerImpl">
|
||||||
<SUITE FILE_PATH="coverage/ITShowPlatform$settings.coverage" NAME="settings Coverage Results" MODIFIED="1651755204349" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ITShowPlatform" />
|
<SUITE FILE_PATH="coverage/ITShowPlatform$settings.coverage" NAME="settings Coverage Results" MODIFIED="1651756900393" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ITShowPlatform" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
@@ -17,11 +17,16 @@ import configparser
|
|||||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
|
|
||||||
|
conf = configparser.RawConfigParser()
|
||||||
|
|
||||||
|
conf.read(str(BASE_DIR)+r"\ITShowPlatform\config.ini",encoding="utf-8")
|
||||||
|
|
||||||
|
|
||||||
# Quick-start development settings - unsuitable for production
|
# Quick-start development settings - unsuitable for production
|
||||||
# See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/
|
# See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/
|
||||||
|
|
||||||
# SECURITY WARNING: keep the secret key used in production secret!
|
# SECURITY WARNING: keep the secret key used in production secret!
|
||||||
SECRET_KEY = 'django-insecure-0cn#v4ei2(^n+txyh4%3d5sllz6mknz#7t$!cq-d!ly*_rwvh2'
|
SECRET_KEY = conf.get("Django","SECRET_KEY")
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
@@ -30,10 +35,6 @@ ALLOWED_HOSTS = ["*"]
|
|||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
conf = configparser.ConfigParser()
|
|
||||||
|
|
||||||
conf.read(str(BASE_DIR)+r"\ITShowPlatform\config.ini",encoding="utf-8")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
|
|||||||
Reference in New Issue
Block a user