ADMIN_MEDIA_PREFIX is set incorrectly. It should be a URL, not a filesystem path. If you want the admin media files served at http://myhost.com/media/, set the value to '/media/' (which is the default). To serve the admin media, just create a softlink to the admin media files on disk in your web root:
$ ln -s /var/www/django-trunk/django/contrib/admin/media <my_web_root>/media keith On Mon, Oct 6, 2008 at 9:25 AM, NoviceSortOf <[EMAIL PROTECTED]> wrote: > > I'm using Linux Fedora, Apache and mod_python. > > I have 3 dashboard.css candidates on my system but Django admin will > not see any of them... > > > ------------------------------------------------------------------------------------------------------------- > # locate dashboard.css [RETURNS] > > /var/www/Django-1.0/django/contrib/admin/media/css/dashboard.css > > /usr/lib/python2.3/site-packages/django/contrib/admin/media/css/ > dashboard.css > > /var/www/django-trunk/django/contrib/admin/media/css/dashboard.css > > ------------------------------------------------------------------------------------------------------------- > So I adjust settings.py to say > ADMIN_MEDIA_PREFIX = '/var/www/django-trunk/django/contrib/admin/ > media/' > > When I log onto Administration, I get functional plain text screen, > and it seems clear templates and/or .css are not being seen. > > After logging in with > View>Page Source source from the browser I see in the html > < > link rel="stylesheet" > type="text/css" > href="/var/www/django-trunk/django/contrib/admin/media/css/ > dashboard.css" > /> > > Why doesn't my admin html see the admin templates with the settings > above? > > Why are there 3 Django dashboard.css files on our server? > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

