1👍
Update:
It turned out to be a missing context processor. To get your STATIC_URL setting inside a template, you have to register the staticfiles
context processor:
TEMPLATE_CONTEXT_PROCESSORS = [
...
'django.core.context_processors.static',
...
]
First stab:
It looks like you’ll need to add that dir to your list of static sources (re: a comment above):
# list of input paths for collectstatic
STATICFILES_DIRS = [
os.path.join(PROJECT_ROOT, "tulsa", "static"),
# you'll want to remove this path:
#os.path.join(PROJECT_ROOT, "site_media", "static"),
]
# output path for collectstatic
STATIC_ROOT = os.path.join(PROJECT_ROOT, "site_media", "static")
Source:stackexchange.com