stylesheet applied.
Based on the CSS file being displayed properly, I guess I'll start
looking there. The contents of my base.html template is:
http://www.w3.org/1999/xhtml";>
{% block title %}{% endblock %}
Foo
Bar
{% block content
The contents of my base.html page are:
http://www.w3.org/1999/xhtml";>
{% block title %}{% endblock %}
Foo
Bar
{% block content %}
{% endblock %}
{% block sidebar %}
{% endblock %}
"['/opt/python/django-apps/'] + sys.path"
SetHandler None
Alias /media/ /opt/python/django-apps/foo/templates/media/
I changed MEDIA_URL to only be '/media/'
And I changed base.html template to use /media/style.css instead of
media/style.css
(I appreciate y
PythonPath "['/opt/python/django-apps/'] + sys.path"
SetHandler None
Alias /media/ /opt/python/django-apps/foo/templates/media/
I changed MEDIA_URL to only be '/media/'
And I changed base.html template to use /media/style.css instead of
media/style.cs
OK, I know this has been posted in the forums before, but for some
reason, I'm still struggling to get my CSS stylesheet applied to my
django templates. I'm hoping that if I post my configuration, someone
can point out what I'm missing.
I have my django project at: /opt/python/
5 matches
Mail list logo