Mercurial > public > madeira
diff mysite/templates/band/gigs.html @ 24:ead7bd49c9e0 django1.3
Changes to support Django 1.3
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 29 Mar 2011 01:51:10 +0000 |
parents | f3052378ab47 |
children | a404f93a68d3 |
line wrap: on
line diff
--- a/mysite/templates/band/gigs.html Mon Mar 28 03:20:29 2011 +0000 +++ b/mysite/templates/band/gigs.html Tue Mar 29 01:51:10 2011 +0000 @@ -1,11 +1,12 @@ {% extends 'band/base.html' %} +{% load url from future %} {% block title %}The Madeira | Shows{% endblock %} {% block custom_css %} -<link rel="stylesheet" href="{{ MEDIA_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" /> +<link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" /> {% endblock %} {% block custom_js %} <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> -<script type="text/javascript" src="{{ MEDIA_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script> <script type="text/javascript"> $(function() { $('a.fancybox').fancybox(); @@ -102,7 +103,7 @@ {% endfor %} </div> <div clear="all"></div> - <center><p>To see all our flyers in full size, check out our <a href="{% url band.views.flyers %}">show flyer gallery</a>.</p></center> + <center><p>To see all our flyers in full size, check out our <a href="{% url 'band.views.flyers' %}">show flyer gallery</a>.</p></center> </div> {% endif %}