From b956812e67f675c726d689f0b3e83e091488b1f7 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 27 Jan 2022 16:05:12 -0500 Subject: [PATCH] Rename recmaint -> cmsmanage --- .gitignore | 2 +- {recmaint => cmsmanage}/__init__.py | 0 {recmaint => cmsmanage}/asgi.py | 4 ++-- {recmaint => cmsmanage}/settings/__init__.py | 0 {recmaint => cmsmanage}/settings/base.py | 6 +++--- {recmaint => cmsmanage}/settings/dev.py | 0 {recmaint => cmsmanage}/settings/prod_base.py | 0 {recmaint => cmsmanage}/urls.py | 2 +- {recmaint => cmsmanage}/wsgi.py | 4 ++-- manage.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) rename {recmaint => cmsmanage}/__init__.py (100%) rename {recmaint => cmsmanage}/asgi.py (73%) rename {recmaint => cmsmanage}/settings/__init__.py (100%) rename {recmaint => cmsmanage}/settings/base.py (94%) rename {recmaint => cmsmanage}/settings/dev.py (100%) rename {recmaint => cmsmanage}/settings/prod_base.py (100%) rename {recmaint => cmsmanage}/urls.py (98%) rename {recmaint => cmsmanage}/wsgi.py (73%) diff --git a/.gitignore b/.gitignore index dbbb0d6..fd96dd2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ __pycache__ -/recmaint/settings/prod.py +/cmsmanage/settings/prod.py diff --git a/recmaint/__init__.py b/cmsmanage/__init__.py similarity index 100% rename from recmaint/__init__.py rename to cmsmanage/__init__.py diff --git a/recmaint/asgi.py b/cmsmanage/asgi.py similarity index 73% rename from recmaint/asgi.py rename to cmsmanage/asgi.py index e1b8287..5d2042c 100644 --- a/recmaint/asgi.py +++ b/cmsmanage/asgi.py @@ -1,5 +1,5 @@ """ -ASGI config for recmaint project. +ASGI config for cmsmanage project. It exposes the ASGI callable as a module-level variable named ``application``. @@ -11,6 +11,6 @@ import os from django.core.asgi import get_asgi_application -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "recmaint.settings") +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cmsmanage.settings") application = get_asgi_application() diff --git a/recmaint/settings/__init__.py b/cmsmanage/settings/__init__.py similarity index 100% rename from recmaint/settings/__init__.py rename to cmsmanage/settings/__init__.py diff --git a/recmaint/settings/base.py b/cmsmanage/settings/base.py similarity index 94% rename from recmaint/settings/base.py rename to cmsmanage/settings/base.py index 7df22b2..c8ba782 100644 --- a/recmaint/settings/base.py +++ b/cmsmanage/settings/base.py @@ -1,5 +1,5 @@ """ -Django settings for recmaint project. +Django settings for cmsmanage project. Generated by 'django-admin startproject' using Django 3.1.3. @@ -46,7 +46,7 @@ MIDDLEWARE = [ "django.middleware.clickjacking.XFrameOptionsMiddleware", ] -ROOT_URLCONF = "recmaint.urls" +ROOT_URLCONF = "cmsmanage.urls" TEMPLATES = [ { @@ -66,7 +66,7 @@ TEMPLATES = [ DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" -WSGI_APPLICATION = "recmaint.wsgi.application" +WSGI_APPLICATION = "cmsmanage.wsgi.application" # Default URL to redirect to after authentication diff --git a/recmaint/settings/dev.py b/cmsmanage/settings/dev.py similarity index 100% rename from recmaint/settings/dev.py rename to cmsmanage/settings/dev.py diff --git a/recmaint/settings/prod_base.py b/cmsmanage/settings/prod_base.py similarity index 100% rename from recmaint/settings/prod_base.py rename to cmsmanage/settings/prod_base.py diff --git a/recmaint/urls.py b/cmsmanage/urls.py similarity index 98% rename from recmaint/urls.py rename to cmsmanage/urls.py index c5ded1a..d119c4b 100644 --- a/recmaint/urls.py +++ b/cmsmanage/urls.py @@ -1,4 +1,4 @@ -"""recmaint URL Configuration +"""cmsmanage URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ diff --git a/recmaint/wsgi.py b/cmsmanage/wsgi.py similarity index 73% rename from recmaint/wsgi.py rename to cmsmanage/wsgi.py index 2e36b0c..7765db2 100644 --- a/recmaint/wsgi.py +++ b/cmsmanage/wsgi.py @@ -1,5 +1,5 @@ """ -WSGI config for recmaint project. +WSGI config for cmsmanage project. It exposes the WSGI callable as a module-level variable named ``application``. @@ -11,6 +11,6 @@ import os from django.core.wsgi import get_wsgi_application -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "recmaint.settings") +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cmsmanage.settings") application = get_wsgi_application() diff --git a/manage.py b/manage.py index 49af7a9..30c29c9 100755 --- a/manage.py +++ b/manage.py @@ -6,7 +6,7 @@ import sys def main(): """Run administrative tasks.""" - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "recmaint.settings.dev") + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cmsmanage.settings.dev") try: from django.core.management import execute_from_command_line except ImportError as exc: