Sfoglia il codice sorgente

Fix a bug on settings

Mohidul Islam 5 anni fa
parent
commit
d36ee8e728

+ 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