From 42c75015f903b0c9b75e6b489ecd516ab32356a8 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 5 May 2020 07:32:23 +0200 Subject: [PATCH] Fix static files --- tfjm/settings.py | 4 ---- tfjm/settings_dev.py | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tfjm/settings.py b/tfjm/settings.py index 1b02629..f4c9958 100644 --- a/tfjm/settings.py +++ b/tfjm/settings.py @@ -161,10 +161,6 @@ LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")] STATIC_URL = '/static/' -STATICFILES_DIRS = [ - os.path.join(BASE_DIR, "static"), -] - MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, "media") diff --git a/tfjm/settings_dev.py b/tfjm/settings_dev.py index 3648467..aff91f7 100644 --- a/tfjm/settings_dev.py +++ b/tfjm/settings_dev.py @@ -13,3 +13,7 @@ DATABASES = { } EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' + +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, "static"), +]