I finally got my django install working, however I’m noticing that the typical look and feel of the admin pages are missing, and it’s as if there are no styles applied to the structure of the pages. Do I have some kind of setup issue or pathing issue that’s preventing the style sheets from being found? Where are they stored? My pages look like they are from 1994.
I finally got my django install working, however I’m noticing that the typical look
Share
Sounds like your admin media isn’t being served correctly. In your
settings.py, there’s a variable calledADMIN_MEDIA_PREFIX, which specifies the URL where Django should look for them. The actual media files are in “[path to your Python site-packages]/django/contrib/admin/media”. When usingmanage.py runserver, the files are served “automagically”. However, when using Apache/nginx/etc it’s your responsibility to make sure that your server makes the files available at that URL (using rewrite rules, symlinks, etc). More info can be found here.