From dcfc00cf70de655c1cf9461cc2a2b746745dac9b Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Fri, 17 Jan 2025 08:48:00 +0100 Subject: [PATCH] Dejo static root como en jugaralpadel --- src/mysite/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mysite/settings.py b/src/mysite/settings.py index 45b18be..8822319 100644 --- a/src/mysite/settings.py +++ b/src/mysite/settings.py @@ -128,10 +128,10 @@ USE_TZ = True # https://docs.djangoproject.com/en/5.1/howto/static-files/ STATIC_URL = '/static/' -STATIC_ROOT = os.path.join(BASE_DIR, 'wsgi', 'static') +STATIC_ROOT = BASE_DIR / "staticfiles" MEDIA_URL = '/media/' -MEDIA_ROOT = os.path.join(BASE_DIR, 'wsgi', 'static', 'mediafiles') +MEDIA_ROOT = BASE_DIR / "mediafiles" # Default primary key field type # https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field