X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=azure%2Fmulticloud_azure%2Fsettings.py;fp=azure%2Fazure%2Fsettings.py;h=507875490d7e829c7144c42a3a7d55d21ba0311b;hb=e212f4fcb3d6f7d2853c6a80144f193b6cc266bf;hp=ace6e8f67959993a164f47a2cbeec90795fe8aac;hpb=98609ecffcaef619e31044ac40b71b4fa8858357;p=multicloud%2Fazure.git diff --git a/azure/azure/settings.py b/azure/multicloud_azure/settings.py similarity index 89% rename from azure/azure/settings.py rename to azure/multicloud_azure/settings.py index ace6e8f..5078754 100644 --- a/azure/azure/settings.py +++ b/azure/multicloud_azure/settings.py @@ -39,7 +39,7 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.staticfiles', 'rest_framework', - 'azure.pub.database', + 'multicloud_azure.pub.database', ] MIDDLEWARE_CLASSES = [ @@ -51,12 +51,12 @@ MIDDLEWARE_CLASSES = [ 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', - 'azure.middleware.LogContextMiddleware', + 'multicloud_azure.middleware.LogContextMiddleware', ] -ROOT_URLCONF = 'azure.urls' +ROOT_URLCONF = 'multicloud_azure.urls' -WSGI_APPLICATION = 'azure.wsgi.application' +WSGI_APPLICATION = 'multicloud_azure.wsgi.application' REST_FRAMEWORK = { 'DEFAULT_RENDERER_CLASSES': ( @@ -82,12 +82,12 @@ STATIC_URL = '/static/' LOGGING_CONFIG = None # yaml configuration of logging -LOGGING_FILE = os.path.join(BASE_DIR, 'azure/pub/config/log.yml') +LOGGING_FILE = os.path.join(BASE_DIR, 'multicloud_azure/pub/config/log.yml') config.yamlConfig(filepath=LOGGING_FILE, watchDog=True) if 'test' in sys.argv: - from azure.pub.config import config + from multicloud_azure.pub.config import config REST_FRAMEWORK = {} import platform