Ver código fonte

项目配置重构

任翠亮 5 anos atrás
pai
commit
5af141201e

+ 1 - 1
.idea/meibang.iml

@@ -2,7 +2,7 @@
 <module type="PYTHON_MODULE" version="4">
   <component name="NewModuleRootManager">
     <content url="file://$MODULE_DIR$" />
-    <orderEntry type="inheritedJdk" />
+    <orderEntry type="jdk" jdkName="Python 3.6.3 virtualenv at C:\Users\12446\Envs\meibang" jdkType="Python SDK" />
     <orderEntry type="sourceFolder" forTests="false" />
   </component>
   <component name="TestRunnerService">

+ 1 - 1
.idea/misc.xml

@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
-  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6.3 virtualenv at C:\Users\12446\Envs\flask_demo" project-jdk-type="Python SDK" />
+  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6.3 virtualenv at C:\Users\12446\Envs\meibang" project-jdk-type="Python SDK" />
 </project>

+ 1 - 1
meib/manage.py

@@ -3,7 +3,7 @@ import os
 import sys
 
 if __name__ == "__main__":
-    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "awj.setting.dev")
+    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "meib.settings.dev")
     try:
         from django.core.management import execute_from_command_line
     except ImportError:

+ 0 - 0
meib/meib/setting/__init__.py → meib/meib/settings/__init__.py


+ 0 - 0
meib/meib/setting/dev.py → meib/meib/settings/dev.py


+ 0 - 0
meib/meib/setting/lianxi.py → meib/meib/settings/lianxi.py


+ 1 - 1
meib/meib/wsgi.py

@@ -13,7 +13,7 @@ import sys
 
 from django.core.wsgi import get_wsgi_application
 
-os.environ.setdefault("DJANGO_SETTINGS_MODULE", "awj.setting.dev")
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "awj.settings.dev")
 
 application = get_wsgi_application()
 

+ 1 - 1
red.txt

@@ -1,6 +1,6 @@
 Django==2.2.7
 django-mssql-backend==2.3.0
-mod-wsgi==4.6.8+ap24vc14
+#mod-wsgi==4.6.8+ap24vc14
 pyodbc==4.0.27
 pytz==2019.3
 sqlparse==0.3.0