Admin CSS not loading
|Reported by:||alectaylor6@…||Owned by:||nobody|
|Severity:||Normal||Keywords:||css, admin, static, admin_media_prefix, media_prefix|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Trunk version cannot load Admin CSS.
First I tried setting the ADMIN_MEDIA_PREFIX to MEDIA_PREFIX, when that didn't work I tried manual replacing. Yes, I know it has been depreciated and that the css are stored in django\django\contrib\admin\static\admin\css, however it did not work when omitted so I placed my that \static\admin\ folder as a subdirectory of my regular static directory.
So I grep'd all the files in my project and virtualenv directories, looking for "base.css". Wherever I found it, I replaced whatever was next to it with /static/admin/ (except the tuples).
After all this, the admin page is still loading with: <link rel="stylesheet" type="text/css" href="admin/css/base.css" />
Can you please fix the admin CSS loading, or tell me how to *actually* change the ADMIN_MEDIA_PREFIX?