summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/proxy/views
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/titanium_cloud/proxy/views')
-rw-r--r--windriver/titanium_cloud/proxy/views/identityV3.py8
-rw-r--r--windriver/titanium_cloud/proxy/views/services.py4
2 files changed, 6 insertions, 6 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
diff --git a/windriver/titanium_cloud/proxy/views/services.py b/windriver/titanium_cloud/proxy/views/services.py
index 47210205..4bfecdbc 100644
--- a/windriver/titanium_cloud/proxy/views/services.py
+++ b/windriver/titanium_cloud/proxy/views/services.py
@@ -16,8 +16,8 @@ import logging
from rest_framework import status
-from titanium_cloud.pub.config import config
-from newton.proxy.views import services as newton_services
+from django.conf import settings
+from newton_base.proxy import services as newton_services
logger = logging.getLogger(__name__)