Skip to content
Snippets Groups Projects
Commit ac16a182 authored by Neda Moeini's avatar Neda Moeini
Browse files

Rename the root app.

parent eaf730f4
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ import sys ...@@ -6,7 +6,7 @@ import sys
def main(): def main():
"""Run administrative tasks.""" """Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'src.sage_validation.settings') os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.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:
......
File moved
...@@ -11,6 +11,6 @@ import os ...@@ -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", "sage_validation.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "root.settings")
application = get_asgi_application() application = get_asgi_application()
...@@ -55,7 +55,7 @@ MIDDLEWARE = [ ...@@ -55,7 +55,7 @@ MIDDLEWARE = [
"django.middleware.clickjacking.XFrameOptionsMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware",
] ]
ROOT_URLCONF = "sage_validation.urls" ROOT_URLCONF = "root.urls"
TEMPLATES = [ TEMPLATES = [
{ {
...@@ -73,7 +73,7 @@ TEMPLATES = [ ...@@ -73,7 +73,7 @@ TEMPLATES = [
}, },
] ]
WSGI_APPLICATION = "sage_validation.wsgi.application" WSGI_APPLICATION = "root.wsgi.application"
# Database # Database
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases # https://docs.djangoproject.com/en/5.1/ref/settings/#databases
......
File moved
...@@ -11,6 +11,6 @@ import os ...@@ -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", "sage_validation.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "root.settings")
application = get_wsgi_application() application = get_wsgi_application()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment