diff gpp/templates/polls/poll_results.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 1f139de929c4
line wrap: on
line diff
--- a/gpp/templates/polls/poll_results.html	Thu Jan 20 04:40:14 2011 +0000
+++ b/gpp/templates/polls/poll_results.html	Thu Jan 27 02:56:10 2011 +0000
@@ -4,13 +4,13 @@
 {% load script_tags %}
 {% block title %}Poll Results: {{ poll.question }}{% endblock %}
 {% block custom_css %}
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/polls.css" />
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/polls.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/comments.css" />
 {% endblock %}
 {% block custom_js %}
 {% if poll.is_open %}
 {% script_tags "markitup jquery-ui" %}
-<script type="text/javascript" src="{{ MEDIA_URL }}js/comments.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}js/comments.js"></script>
 {% endif %}
 {% endblock %}
 {% block content %}