summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-20 22:13:07 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-20 22:13:07 +0800
commit97c08919003de48ecc61751697c9dfc5360f2e16 (patch)
tree864b3e4f8fb00339b075bc663e0d630901071ccf
parent8f2f1ef249d6d807b114a6a7e8cd385101bb578f (diff)
Disable DEBUG mode for MC plugin newton
Change-Id: I24ba8c1e528e5c1352f6d01047b797b87edc4685 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
-rw-r--r--newton/newton/extensions/views/epacaps.py2
-rw-r--r--newton/newton/extensions/views/extensions.py2
-rw-r--r--newton/newton/proxy/views/identityV3.py2
-rw-r--r--newton/newton/proxy/views/services.py2
-rw-r--r--newton/newton/registration/views/registration.py2
-rw-r--r--newton/newton/settings.py4
6 files changed, 7 insertions, 7 deletions
diff --git a/newton/newton/extensions/views/epacaps.py b/newton/newton/extensions/views/epacaps.py
index 77542b31..7efb71a6 100644
--- a/newton/newton/extensions/views/epacaps.py
+++ b/newton/newton/extensions/views/epacaps.py
@@ -23,7 +23,7 @@ from newton_base.extensions import epacaps as newton_epacaps
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class EpaCaps(newton_epacaps.EpaCaps):
diff --git a/newton/newton/extensions/views/extensions.py b/newton/newton/extensions/views/extensions.py
index 851bc7ea..a40ccdd3 100644
--- a/newton/newton/extensions/views/extensions.py
+++ b/newton/newton/extensions/views/extensions.py
@@ -19,7 +19,7 @@ from newton_base.extensions import extensions as newton_extensions
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class Extensions(newton_extensions.Extensions):
diff --git a/newton/newton/proxy/views/identityV3.py b/newton/newton/proxy/views/identityV3.py
index dd280314..c831d017 100644
--- a/newton/newton/proxy/views/identityV3.py
+++ b/newton/newton/proxy/views/identityV3.py
@@ -19,7 +19,7 @@ from newton_base.proxy import identityV3 as newton_identityV3
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class Tokens(newton_identityV3.Tokens):
diff --git a/newton/newton/proxy/views/services.py b/newton/newton/proxy/views/services.py
index 4bfecdbc..c1d4f194 100644
--- a/newton/newton/proxy/views/services.py
+++ b/newton/newton/proxy/views/services.py
@@ -21,7 +21,7 @@ from newton_base.proxy import services as newton_services
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class Services(newton_services.Services):
diff --git a/newton/newton/registration/views/registration.py b/newton/newton/registration/views/registration.py
index 69c85837..a7b2831f 100644
--- a/newton/newton/registration/views/registration.py
+++ b/newton/newton/registration/views/registration.py
@@ -20,7 +20,7 @@ from newton_base.registration import registration as newton_registration
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class Registry(newton_registration.Registry):
diff --git a/newton/newton/settings.py b/newton/newton/settings.py
index a5585a68..4a78f98b 100644
--- a/newton/newton/settings.py
+++ b/newton/newton/settings.py
@@ -38,9 +38,9 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = '3o-wney!99y)^h3v)0$j16l9=fdjxcb+a8g+q3tfbahcnu2b0o'
# SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = True
+#DEBUG = True
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = ['*']
# Application definition