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 %}