Im trying to get the template to load the CSS, but it does not load,
the server output shows a 404.

in templates directory i have

/default/layout.html  (this is the website layout)
/articles/index.html  (the template defining blocks to replace in the
template)

I've tried a few things, im not real sure where to put the css and how
to reference the location properly

layout.html:

<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<link rel=StyleSheet href={% block style %} "stylesheet.css" {%
endblock %} type="text/css">
<title> {% block title %}  {% endblock %} </title>
</head>

index.html:

{% block style %} "stylesheet.css" {% endblock %}


which results in "GET /articles/stylesheet.css HTTP/1.1" 404

the stylesheet.css is actually in the same location as index.html.


preferably i dont want the css file there but in a global location,
can someone tell me whats going on here?
thanks

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to