I’ve set:
ADMIN_MEDIA_PREFIX = 'C:/Python27/Lib/site-packages/django/contrib/admin/media/'
And in admin panel I’ve got such links to CSS:
<link href="C:/Python27/Lib/site-packages/django/contrib/admin/media/css/base.css" type="text/css" rel="stylesheet">
<link href="C:/Python27/Lib/site-packages/django/contrib/admin/media/css/dashboard.css" type="text/css" rel="stylesheet">
I watch this files – they are not empty. I tried to set static links to it in templates, but still nothing.
The problem can be with register (non-latin symbols), so if you haven’t styles in Django Admin – you may have such error, which cause this.
If you have not got styles in Django administration mainly you must look at information given in tag in your styleless html page. Maybe it’s problem with endoding like this.
There is simple solution. Run regedit and watch in XP:
and in 7 such keys:
There must be invalid symbols (all must be in english), so you need rename some entries and all will work fine. But, really, it takes so long to connect endcode and style problems together. I hope this will save your time.