From 7e1755ded09eb1a14e91300c9b2dafa9eb06e7a0 Mon Sep 17 00:00:00 2001 From: juanjo <130799031+juanminguezsanz2023@users.noreply.github.com> Date: Sat, 11 Apr 2026 19:07:22 +0200 Subject: [PATCH] fix 2 --- core/asgi.py | 4 ++++ core/wsgi.py | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 core/asgi.py create mode 100644 core/wsgi.py diff --git a/core/asgi.py b/core/asgi.py new file mode 100644 index 0000000..7de2e6f --- /dev/null +++ b/core/asgi.py @@ -0,0 +1,4 @@ +import os +from django.core.asgi import get_asgi_application +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') +application = get_asgi_application() \ No newline at end of file diff --git a/core/wsgi.py b/core/wsgi.py new file mode 100644 index 0000000..38e1de4 --- /dev/null +++ b/core/wsgi.py @@ -0,0 +1,7 @@ +import os +from django.core.wsgi import get_wsgi_application + +# Este es el enlace con tus configuraciones +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') + +application = get_wsgi_application() \ No newline at end of file