From 97c08919003de48ecc61751697c9dfc5360f2e16 Mon Sep 17 00:00:00 2001 From: Yun Huang Date: Tue, 20 Mar 2018 22:13:07 +0800 Subject: Disable DEBUG mode for MC plugin newton Change-Id: I24ba8c1e528e5c1352f6d01047b797b87edc4685 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang --- newton/newton/extensions/views/epacaps.py | 2 +- newton/newton/extensions/views/extensions.py | 2 +- newton/newton/proxy/views/identityV3.py | 2 +- newton/newton/proxy/views/services.py | 2 +- newton/newton/registration/views/registration.py | 2 +- newton/newton/settings.py | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'newton') 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 -- cgit 1.2.3-korg