Rename project
This commit is contained in:
parent
861dedecf1
commit
741488f40b
9 changed files with 10 additions and 10 deletions
|
@ -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:
|
||||
|
|
|
@ -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()
|
|
@ -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
|
|
@ -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/
|
|
@ -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()
|
Loading…
Reference in a new issue