From 741488f40ba915816269b420948ff3309bc0f240 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 7 Dec 2023 13:29:15 +0000 Subject: [PATCH] Rename project --- manage.py | 2 +- {yamdl_content => yamdl_playground}/__init__.py | 0 {yamdl_content => yamdl_playground}/asgi.py | 4 ++-- {yamdl_content => yamdl_playground}/core/__init__.py | 0 {yamdl_content => yamdl_playground}/core/models.py | 0 {yamdl_content => yamdl_playground}/core/views.py | 0 {yamdl_content => yamdl_playground}/settings.py | 8 ++++---- {yamdl_content => yamdl_playground}/urls.py | 2 +- {yamdl_content => yamdl_playground}/wsgi.py | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) rename {yamdl_content => yamdl_playground}/__init__.py (100%) rename {yamdl_content => yamdl_playground}/asgi.py (70%) rename {yamdl_content => yamdl_playground}/core/__init__.py (100%) rename {yamdl_content => yamdl_playground}/core/models.py (100%) rename {yamdl_content => yamdl_playground}/core/views.py (100%) rename {yamdl_content => yamdl_playground}/settings.py (94%) rename {yamdl_content => yamdl_playground}/urls.py (93%) rename {yamdl_content => yamdl_playground}/wsgi.py (70%) diff --git a/manage.py b/manage.py index e013ed8..7700af7 100755 --- a/manage.py +++ b/manage.py @@ -6,7 +6,7 @@ import sys def main(): """Run administrative tasks.""" - os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'yamdl_content.settings') + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'yamdl_playground.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: diff --git a/yamdl_content/__init__.py b/yamdl_playground/__init__.py similarity index 100% rename from yamdl_content/__init__.py rename to yamdl_playground/__init__.py diff --git a/yamdl_content/asgi.py b/yamdl_playground/asgi.py similarity index 70% rename from yamdl_content/asgi.py rename to yamdl_playground/asgi.py index 42b9200..1fec3b5 100644 --- a/yamdl_content/asgi.py +++ b/yamdl_playground/asgi.py @@ -1,5 +1,5 @@ """ -ASGI config for yamdl_content project. +ASGI config for yamdl_playground 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', 'yamdl_content.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'yamdl_playground.settings') application = get_asgi_application() diff --git a/yamdl_content/core/__init__.py b/yamdl_playground/core/__init__.py similarity index 100% rename from yamdl_content/core/__init__.py rename to yamdl_playground/core/__init__.py diff --git a/yamdl_content/core/models.py b/yamdl_playground/core/models.py similarity index 100% rename from yamdl_content/core/models.py rename to yamdl_playground/core/models.py diff --git a/yamdl_content/core/views.py b/yamdl_playground/core/views.py similarity index 100% rename from yamdl_content/core/views.py rename to yamdl_playground/core/views.py diff --git a/yamdl_content/settings.py b/yamdl_playground/settings.py similarity index 94% rename from yamdl_content/settings.py rename to yamdl_playground/settings.py index cfd53df..5856d5b 100644 --- a/yamdl_content/settings.py +++ b/yamdl_playground/settings.py @@ -1,5 +1,5 @@ """ -Django settings for yamdl_content project. +Django settings for yamdl_playground project. Generated by 'django-admin startproject' using Django 5.0. @@ -33,7 +33,7 @@ ALLOWED_HOSTS = [] INSTALLED_APPS = [ 'django.contrib.staticfiles', "yamdl", - "yamdl_content.core" + "yamdl_playground.core" ] MIDDLEWARE = [ @@ -43,7 +43,7 @@ MIDDLEWARE = [ 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] -ROOT_URLCONF = 'yamdl_content.urls' +ROOT_URLCONF = 'yamdl_playground.urls' TEMPLATES = [ { @@ -61,7 +61,7 @@ TEMPLATES = [ }, ] -WSGI_APPLICATION = 'yamdl_content.wsgi.application' +WSGI_APPLICATION = 'yamdl_playground.wsgi.application' # Database diff --git a/yamdl_content/urls.py b/yamdl_playground/urls.py similarity index 93% rename from yamdl_content/urls.py rename to yamdl_playground/urls.py index dad3a62..0e0a667 100644 --- a/yamdl_content/urls.py +++ b/yamdl_playground/urls.py @@ -1,5 +1,5 @@ """ -URL configuration for yamdl_content project. +URL configuration for yamdl_playground project. The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/5.0/topics/http/urls/ diff --git a/yamdl_content/wsgi.py b/yamdl_playground/wsgi.py similarity index 70% rename from yamdl_content/wsgi.py rename to yamdl_playground/wsgi.py index a459130..88415a4 100644 --- a/yamdl_content/wsgi.py +++ b/yamdl_playground/wsgi.py @@ -1,5 +1,5 @@ """ -WSGI config for yamdl_content project. +WSGI config for yamdl_playground 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', 'yamdl_content.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'yamdl_playground.settings') application = get_wsgi_application()