From 2de5a8030e8e54aa44208fa3d60827a0564575f3 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Tue, 25 Feb 2020 22:14:56 +0100 Subject: [PATCH] set STATIC_ROOT --- note_kfet/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/note_kfet/settings/base.py b/note_kfet/settings/base.py index a58d4817..7d7eb21d 100644 --- a/note_kfet/settings/base.py +++ b/note_kfet/settings/base.py @@ -176,7 +176,7 @@ FIXTURE_DIRS = [os.path.join(BASE_DIR, "note_kfet/fixtures")] # Don't put anything in this directory yourself; store your static files # in apps' "static/" subdirectories and in STATICFILES_DIRS. # Example: "/var/www/example.com/static/" -STATIC_ROOT = os.path.realpath(__file__) +STATIC_ROOT = os.path.join(BASE_DIR,"static/") STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static')]