From b0c1999922c7443a0c09081263fbbdea556f5630 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 5 Apr 2020 19:42:34 +1000 Subject: [PATCH] Include font-awesome scripts --- InvenTree/InvenTree/settings.py | 2 +- InvenTree/templates/base.html | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 8ca170d47f..fa6bf96ec7 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -298,7 +298,7 @@ DATE_INPUT_FORMATS = [ STATIC_URL = '/static/' # The filesystem location for served static files -STATIC_ROOT = CONFIG.get('static_root', os.path.join(BASE_DIR, 'static')) +STATIC_ROOT = os.path.abspath(CONFIG.get('static_root', os.path.join(BASE_DIR, 'static'))) STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'InvenTree', 'static'), diff --git a/InvenTree/templates/base.html b/InvenTree/templates/base.html index d3d214965a..e3b1837584 100644 --- a/InvenTree/templates/base.html +++ b/InvenTree/templates/base.html @@ -106,6 +106,10 @@ InvenTree + + + + {% block js_load %} {% endblock %}