On Aug 27, 2006, at 1:21 PM, Cole Tuininga wrote:

Hi folks - I'm setting up Django with mod_python and I've come across
a little problem.  When using the admin area, I get an error in my
apache logs.  Here's an example:

[Sun Aug 27 16:15:59 2006] [error] [client 127.0.0.1] File does not
exist: /usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/admin/media/css/null,

Relevant portions of my apache conf looks like this:

SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE lll.settings
PythonDebug On

Alias /media /usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/admin/media
<Location "/media">
SetHandler None
</Location>

What am I doing wrong?



You are doing nothing wrong, this is some CSS "magic" that is used to handle bugs in Internet Explorer. A null CSS file is coded in base.css that doesn't exist to get IE to ignore CSS that it doesn't understand (in base.css, you'll see some odd comment syntax that fools IE's CSS parser). You could create an empty null.css file and change base.css to call that, but that causes problems with other browsers that cannot handle empty css files.

Pretty much nothing to worry about.

Don


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to