diff gpp/templates/potd/view.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 7dbdbb08e68c
line wrap: on
line diff
--- a/gpp/templates/potd/view.html	Thu Jan 20 04:40:14 2011 +0000
+++ b/gpp/templates/potd/view.html	Thu Jan 27 02:56:10 2011 +0000
@@ -4,12 +4,12 @@
 {% load script_tags %}
 {% block title %}Photo Of The Day{% endblock %}
 {% block custom_css %}
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/potd.css" />
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/potd.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/comments.css" />
 {% endblock %}
 {% block custom_js %}
 {% 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>
 {% endblock %}
 {% block content %}
 {% if is_current %}