diff --git a/infotech/infotech/__init__.py b/infotech/config/__init__.py similarity index 100% rename from infotech/infotech/__init__.py rename to infotech/config/__init__.py diff --git a/infotech/infotech/asgi.py b/infotech/config/asgi.py similarity index 79% rename from infotech/infotech/asgi.py rename to infotech/config/asgi.py index d652e36..59bd471 100644 --- a/infotech/infotech/asgi.py +++ b/infotech/config/asgi.py @@ -11,6 +11,6 @@ import os from django.core.asgi import get_asgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'infotech.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings') application = get_asgi_application() diff --git a/infotech/infotech/settings.py b/infotech/config/settings.py similarity index 94% rename from infotech/infotech/settings.py rename to infotech/config/settings.py index e8121d1..00a7314 100644 --- a/infotech/infotech/settings.py +++ b/infotech/config/settings.py @@ -49,7 +49,7 @@ MIDDLEWARE = [ 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] -ROOT_URLCONF = 'infotech.urls' +ROOT_URLCONF = 'config.urls' TEMPLATES = [ { @@ -67,7 +67,7 @@ TEMPLATES = [ }, ] -WSGI_APPLICATION = 'infotech.wsgi.application' +WSGI_APPLICATION = 'config.wsgi.application' # Database diff --git a/infotech/infotech/urls.py b/infotech/config/urls.py similarity index 100% rename from infotech/infotech/urls.py rename to infotech/config/urls.py diff --git a/infotech/infotech/wsgi.py b/infotech/config/wsgi.py similarity index 79% rename from infotech/infotech/wsgi.py rename to infotech/config/wsgi.py index c04fbf2..c87985e 100644 --- a/infotech/infotech/wsgi.py +++ b/infotech/config/wsgi.py @@ -11,6 +11,6 @@ import os from django.core.wsgi import get_wsgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'infotech.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings') application = get_wsgi_application() diff --git a/infotech/manage.py b/infotech/manage.py index 4664a0a..192aaab 100644 --- a/infotech/manage.py +++ b/infotech/manage.py @@ -6,7 +6,7 @@ import sys def main(): """Run administrative tasks.""" - os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'infotech.settings') + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: