add a setting for static directories

This commit is contained in:
Andreas Zweili 2017-12-29 11:41:56 +01:00
parent 421fc98cea
commit f0e9ea2d85

View File

@ -120,4 +120,8 @@ USE_TZ = True
# https://docs.djangoproject.com/en/2.0/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = '/var/www/network_inventory/network_inventory/static/'
# STATIC_ROOT = '/home/andreas/git_repos/projects/network_inventory/network_inventory/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]