From 75086143d476faeb4ec13954c7994b088632a3d5 Mon Sep 17 00:00:00 2001 From: kimachinkiy <48508661+kimachinskiy@users.noreply.github.com> Date: Wed, 4 Oct 2023 07:57:20 +0300 Subject: [PATCH] Update --- forum/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/forum/settings.py b/forum/settings.py index 9a77aaea1..15c1b9b7f 100644 --- a/forum/settings.py +++ b/forum/settings.py @@ -154,6 +154,10 @@ MEDIA_URL = os.path.join(BASE_DIR, 'public/media/') MEDIA_ROOT = 'media/' +STATICFILES_DIRS = ( + os.path.join(BASE_DIR, 'static'), +) + # Default primary key field type # https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field