浏览代码

Fix a bug on settings

Mohidul Islam 5 年之前
父节点
当前提交
d36ee8e728
共有 3 个文件被更改,包括 2 次插入2 次删除
  1. 0 2
      review_automation/settings/base.py
  2. 1 0
      review_automation/settings/dev.py
  3. 1 0
      review_automation/settings/prod.py

+ 0 - 2
review_automation/settings/base.py

@@ -60,8 +60,6 @@ TEMPLATES = [
     },
 ]
 
-WSGI_APPLICATION = 'review_automation.wsgi.application'
-
 
 # Internationalization
 

+ 1 - 0
review_automation/settings/dev.py

@@ -5,6 +5,7 @@ DEBUG = True
 
 ALLOWED_HOSTS = []
 
+WSGI_APPLICATION = 'review_automation.wsgi.dev.application'
 
 # Database
 

+ 1 - 0
review_automation/settings/prod.py

@@ -5,6 +5,7 @@ DEBUG = False
 
 ALLOWED_HOSTS = ['10.0.0.36', 'bytetrek.com']
 
+WSGI_APPLICATION = 'review_automation.wsgi.prod.application'
 
 # Database