1
Fork 0

Rename project

This commit is contained in:
Jake Howard 2023-12-07 13:29:15 +00:00
parent 861dedecf1
commit 741488f40b
Signed by: jake
GPG key ID: 57AFB45680EDD477
9 changed files with 10 additions and 10 deletions

View file

@ -6,7 +6,7 @@ import sys
def main(): def main():
"""Run administrative tasks.""" """Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'yamdl_content.settings') os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'yamdl_playground.settings')
try: try:
from django.core.management import execute_from_command_line from django.core.management import execute_from_command_line
except ImportError as exc: except ImportError as exc:

View file

@ -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``. 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 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() application = get_asgi_application()

View file

@ -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. Generated by 'django-admin startproject' using Django 5.0.
@ -33,7 +33,7 @@ ALLOWED_HOSTS = []
INSTALLED_APPS = [ INSTALLED_APPS = [
'django.contrib.staticfiles', 'django.contrib.staticfiles',
"yamdl", "yamdl",
"yamdl_content.core" "yamdl_playground.core"
] ]
MIDDLEWARE = [ MIDDLEWARE = [
@ -43,7 +43,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware',
] ]
ROOT_URLCONF = 'yamdl_content.urls' ROOT_URLCONF = 'yamdl_playground.urls'
TEMPLATES = [ TEMPLATES = [
{ {
@ -61,7 +61,7 @@ TEMPLATES = [
}, },
] ]
WSGI_APPLICATION = 'yamdl_content.wsgi.application' WSGI_APPLICATION = 'yamdl_playground.wsgi.application'
# Database # Database

View file

@ -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: The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/5.0/topics/http/urls/ https://docs.djangoproject.com/en/5.0/topics/http/urls/

View file

@ -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``. 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 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() application = get_wsgi_application()