diff options
author | 2018-03-07 09:16:38 +0800 | |
---|---|---|
committer | 2018-03-07 09:23:18 +0800 | |
commit | 9b38263158909c0d20c0f36438071b3c532ec284 (patch) | |
tree | 05cebf5569f401ddeb095ea6282e2203e6c3eec0 /windriver/titanium_cloud/registration/views | |
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/registration/views')
-rw-r--r-- | windriver/titanium_cloud/registration/views/registration.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/windriver/titanium_cloud/registration/views/registration.py b/windriver/titanium_cloud/registration/views/registration.py index ee9be716..da83efaa 100644 --- a/windriver/titanium_cloud/registration/views/registration.py +++ b/windriver/titanium_cloud/registration/views/registration.py @@ -14,9 +14,9 @@ import logging -from titanium_cloud.pub.config import config +from django.conf import settings -from newton.registration.views import registration as newton_registration +from newton_base.registration import registration as newton_registration logger = logging.getLogger(__name__) @@ -25,5 +25,5 @@ DEBUG=True class Registry(newton_registration.Registry): def __init__(self): - self.proxy_prefix = config.MULTICLOUD_PREFIX + self.proxy_prefix = settings.MULTICLOUD_PREFIX self._logger = logger |