There is one previous question that I could find:
Using Django and s3boto, some admin images (icon_clock.gif and icon_calendar.gif) are not displayed
But it is very dated (2013). I am running django 1.9.1, apache, wsgi on Ubuntu 14.04.3 LTS.
At first the problem was that the jquery files were missing, but collectstatic ( manage.py ) was launched from virtualenv , this problem was fixed. However, two media files for administration files are still missing. 404 URLs:
http://example.com/missing-admin-media-prefix/img/icon_calendar.gif http://example.com/missing-admin-media-prefix/img/icon_clock.gif
The strange URL prefix allows you to find some very old questions related to this problem, but it seems to have depreciated for django 1.9.1.
My settings.py looks like this:
STATIC_URL = '/static/' #ADMIN_MEDIA_PREFIX = '/static/admin/' #MEDIA_URL = "/media/" #MEDIA_ROOT = "/home/user/app_root/media/" STATIC_ROOT = "/home/user/app_root/static/"
The lines outlined were suggestions that I found in outdated questions related to the same problem (no one worked). All other static files work fine, including most of them.
I'm out of ideas.
source share