aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2021-03-31 09:20:03 -0500
committerBenjamin Copeland <ben.copeland@linaro.org>2021-03-31 15:35:20 +0000
commit62b4dba0624ea7153f86543a8b8f8375ebb23cd2 (patch)
tree16890bd4605b91010da202543073a5a0f9e5f318
parent3351812c2fc7ac5adb12ee4b2e96d98ad62f0970 (diff)
downloadlinaro-license-protection-master.tar.gz
llp: add STATIC_ROOT to STATIC_DIRSHEADmaster
testdata.lo was failing to show static files (ie, icons in pages). Let's add in the STATIC_ROOT to STATIC_DIRS explicitly in order to ensure that the files are correctly found and served. Change-Id: Iffb8b489cd421ac3fb8344e0c51d542e3aa7118f Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/38333 Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
-rw-r--r--settings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 998f6e7..53950b1 100644
--- a/settings.py
+++ b/settings.py
@@ -80,6 +80,7 @@ STATICFILES_DIRS = (
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
+ STATIC_ROOT
)
# List of finder classes that know how to find static files in