From b0c420858b57d79c819a48426a18791232a3bf52 Mon Sep 17 00:00:00 2001 From: Oliver Walters <oliver.henry.walters@gmail.com> Date: Mon, 2 Sep 2019 16:44:01 +1000 Subject: [PATCH] Comments for settings.py --- InvenTree/InvenTree/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index d89a57cb78..1e993e5068 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -231,16 +231,20 @@ USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.10/howto/static-files/ +# Web URL endpoint for served static files STATIC_URL = '/static/' +# The filesystem location for served static files STATIC_ROOT = CONFIG.get('static_root', os.path.join(BASE_DIR, 'static')) STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'InvenTree', 'static'), ] +# Web URL endpoint for served media files MEDIA_URL = '/media/' +# The filesystem location for served static files MEDIA_ROOT = CONFIG.get('media_root', os.path.join(BASE_DIR, 'media')) # crispy forms use the bootstrap templates