summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-03-20 14:45:13 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-20 14:45:13 +0000
commitb58376c8420a32b4217e7b5870b29157064c13de (patch)
tree87d3cae146afa0b85a1dae8c457313a1ea4f0fde
parentf01a05f3d12c2677f9f4dcaca20697642e13e3e4 (diff)
parent97c08919003de48ecc61751697c9dfc5360f2e16 (diff)
Merge "Disable DEBUG mode for MC plugin newton"
-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