diff options
author | Yun Huang <yun.huang@windriver.com> | 2018-03-07 09:16:38 +0800 |
---|---|---|
committer | Yun Huang <yun.huang@windriver.com> | 2018-03-07 09:23:18 +0800 |
commit | 9b38263158909c0d20c0f36438071b3c532ec284 (patch) | |
tree | 05cebf5569f401ddeb095ea6282e2203e6c3eec0 /windriver/titanium_cloud/proxy/views/identityV3.py | |
parent | 8ff2e0716d126a9d47dc98f933bb0bc046faa05d (diff) |
Change the code base from newton to share
And adopt settings,depreciate config
Change-Id: Ib467a6e914ae89ab8799d38191dfed8b3cd7b726
Issue-ID: MULTICLOUD-138
Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/proxy/views/identityV3.py')
-rw-r--r-- | windriver/titanium_cloud/proxy/views/identityV3.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/windriver/titanium_cloud/proxy/views/identityV3.py b/windriver/titanium_cloud/proxy/views/identityV3.py index 29b37d76..dd280314 100644 --- a/windriver/titanium_cloud/proxy/views/identityV3.py +++ b/windriver/titanium_cloud/proxy/views/identityV3.py @@ -14,8 +14,8 @@ import logging -from titanium_cloud.pub.config import config -from newton.proxy.views import identityV3 as newton_identityV3 +from django.conf import settings +from newton_base.proxy import identityV3 as newton_identityV3 logger = logging.getLogger(__name__) @@ -24,11 +24,11 @@ DEBUG=True class Tokens(newton_identityV3.Tokens): def __init__(self): - self.proxy_prefix = config.MULTICLOUD_PREFIX + self.proxy_prefix = settings.MULTICLOUD_PREFIX self._logger = logger class TokensV2(newton_identityV3.TokensV2): def __init__(self): - self.proxy_prefix = config.MULTICLOUD_PREFIX + self.proxy_prefix = settings.MULTICLOUD_PREFIX self._logger = logger |