From 0fa49fce8b69734b1cd9cb9fa80d80b2830d00fd Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Sun, 28 Dec 2025 13:21:16 +0100 Subject: [PATCH] Add STATIC_ROOT and STATICFILES_DIRS settings --- labhelper/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/labhelper/settings.py b/labhelper/settings.py index 1a26172..8cb2532 100644 --- a/labhelper/settings.py +++ b/labhelper/settings.py @@ -116,6 +116,10 @@ USE_TZ = True # https://docs.djangoproject.com/en/5.2/howto/static-files/ STATIC_URL = 'static/' +STATIC_ROOT = BASE_DIR / 'staticfiles' +STATICFILES_DIRS = [ + BASE_DIR / 'static', +] # Default primary key field type # https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field