Wednesday, January 19, 2011

Django Template CSS Load Path

I am trying to load a css file in my base.html template

<html>
<!-- Test Comment -->
<head>
<title>{% block title %}Test{% endblock %} </title>
<link rel="stylesheet" type="text/css" href="css/amr.css" />
</head>

What kind of path is supposed to go in the href? Is it relative to the
document root?

Does anyone have an example of loading a css file including the Apache
configuration?

Thanks.
cmn

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate