Mercurial > public > sg101
diff gpp/templates/downloads/download_list.html @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | daa2916f5b34 |
children | 41411066b16d |
line wrap: on
line diff
--- a/gpp/templates/downloads/download_list.html Thu Jan 20 04:40:14 2011 +0000 +++ b/gpp/templates/downloads/download_list.html Thu Jan 27 02:56:10 2011 +0000 @@ -3,12 +3,12 @@ {% load downloads_tags %} {% block title %}Downloads: {{ category.title }}{% endblock %} {% block custom_css %} -<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" /> -<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> -<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" /> +<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/downloads.css" /> +<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/tab-nav.css" /> +<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" /> {% endblock %} {% block custom_js %} -<script type="text/javascript" src="{{ MEDIA_URL }}js/downloads/rating.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}js/rating.js"></script> {% endblock %} {% block content %} <h2>Downloads</h2>