comparison mysite/templates/band/video_detail.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 0dcfcdf50c62
children 25e00d1b99bf
comparison
equal deleted inserted replaced
23:6ad81d6a86bf 24:ead7bd49c9e0
1 {% extends 'band/base.html' %} 1 {% extends 'band/base.html' %}
2 {% load url from future %}
2 {% block title %}The Madeira | Videos: {{ vidset.title }}{% endblock %} 3 {% block title %}The Madeira | Videos: {{ vidset.title }}{% endblock %}
3 {% block content %} 4 {% block content %}
4 <h1>Madeira Videos: {{ vidset.title }}</h1> 5 <h1>Madeira Videos: {{ vidset.title }}</h1>
5 {{ vidset.text|safe|linebreaks }} 6 {{ vidset.text|safe|linebreaks }}
6 7
10 <tr><th>{{ video.title }}</th><td>{{ video.embed_code|safe }}</td></tr> 11 <tr><th>{{ video.title }}</th><td>{{ video.embed_code|safe }}</td></tr>
11 {% endfor %} 12 {% endfor %}
12 </table> 13 </table>
13 </div> 14 </div>
14 <br /> 15 <br />
15 <center><a href="{% url mysite.band.views.videos_index %}">Videos index</a></center> 16 <center><a href="{% url 'mysite.band.views.videos_index' %}">Videos index</a></center>
16 17
17 {% endblock %} 18 {% endblock %}