Hi all,
I have a strange problem that I can't account for. When I run `python
manage.py runserver` for my site and browse to the /admin/ everything
works fine. Once I put the site on my server the html spit out by the
admin is missing the <link> tag for the base.css stylesheet.
e.g.
On the server:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us"
xml:lang="en-us" >
<head>
<title>Log in | Django site admin</title>
<link rel="stylesheet" type="text/css" href="/media/css/
login.css" />
When I runserver locally:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us"
xml:lang="en-us" >
<head>
<title>Log in | Django site admin</title>
<![if gte IE 6]><!-- Block all styles from IE5 and lower -->
<link rel="stylesheet" type="text/css" href="/media/css/
base.css" />
<link rel="stylesheet" type="text/css" href="/media/css/
login.css" />
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/
media/css/ie.css" /><![endif]-->
<![endif]>
If I browse to /media/css/login.css I see that css fine, so the
problem is the HTML (not paths).
I can't figure it out and google has been no help. Has anyone seen this?
I'm running apache2, mod_python with nginx as a proxy. Django is trunk
(rev 9534)
Thanks,
James.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---