Debug false in production

This commit is contained in:
Dimas committed 2017-08-30 18:55:45 +07:00
1 parent 62a0c41ef8
commit 2fddc8d8e4
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -264,7 +264,7 @@ try:
except:
CELERY_IMPORTS = ('osgeo_importer.tasks',)
LOCKDOWN_GEONODE = True
LOCKDOWN_GEONODE = False
BROKER_URL = "amqp://guest@localhost:5672"
CELERY_ALWAYS_EAGER = True
+1 -1
View File
@@ -17,7 +17,7 @@ ALLOWED_HOSTS = [
USE_X_FORWARDED_HOST = True
# Set debug to false for production
DEBUG = TEMPLATE_DEBUG = True
DEBUG = TEMPLATE_DEBUG = False
TESTING = DEBUG
SERVER_EMAIL = 'tim@kartoza.com'
+1 -1
View File
@@ -5,7 +5,7 @@ from .prod import * # noqa
import os
print os.environ
DEBUG = True
DEBUG = False
ALLOWED_HOSTS = ['*']