Refactor project structure: rename 'rekoring' app to 'openreko' and update settings, URLs, and ASGI/WSGI configurations
This commit is contained in:
parent
269ee8cbce
commit
83e11680c9
6 changed files with 9 additions and 9 deletions
|
|
@ -6,7 +6,7 @@ import sys
|
|||
|
||||
def main():
|
||||
"""Run administrative tasks."""
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'rekoring.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openreko.settings')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
ASGI config for rekoring project.
|
||||
ASGI config for openreko 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', 'rekoring.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openreko.settings')
|
||||
|
||||
application = get_asgi_application()
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Django settings for rekoring project.
|
||||
Django settings for openreko project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 5.2.6.
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ MIDDLEWARE = [
|
|||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
]
|
||||
|
||||
ROOT_URLCONF = 'rekoring.urls'
|
||||
ROOT_URLCONF = 'openreko.urls'
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
|
|
@ -67,7 +67,7 @@ TEMPLATES = [
|
|||
},
|
||||
]
|
||||
|
||||
WSGI_APPLICATION = 'rekoring.wsgi.application'
|
||||
WSGI_APPLICATION = 'openreko.wsgi.application'
|
||||
|
||||
|
||||
# Database
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
URL configuration for rekoring project.
|
||||
URL configuration for openreko project.
|
||||
|
||||
The `urlpatterns` list routes URLs to views. For more information please see:
|
||||
https://docs.djangoproject.com/en/5.2/topics/http/urls/
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
WSGI config for rekoring project.
|
||||
WSGI config for openreko 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', 'rekoring.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openreko.settings')
|
||||
|
||||
application = get_wsgi_application()
|
||||
Loading…
Add table
Add a link
Reference in a new issue