comparison bns_website/templates/bands/band_list.html @ 6:48ff23eab86a

Enabled the admin. Created a "bands" app with a band model. Created a generic view to display the bands.
author Brian Neal <bgneal@gmail.com>
date Sat, 29 Oct 2011 17:11:58 -0500
parents
children aee309dab2f1
comparison
equal deleted inserted replaced
5:04991ccaf30c 6:48ff23eab86a
1 {% extends 'base.html' %}
2 {% load core_tags %}
3 {% block title %}Bands{% endblock %}
4 {% block content %}
5 {% navbar 'bands' %}
6 <h1>The Bands</h1>
7 <p>This is too &quot;wall of text-y&quot;, so maybe break it up with band photos. And/or put a javascript slideshow of all the bands up here at the top.</p>
8 <dl>
9 {% for band in object_list %}
10 <dt><a href="{{ band.url }}">{{ band.name }}</a></dt>
11 <dd>{{ band.notes|linebreaksbr }}</dd>
12 {% endfor %}
13 </dl>
14 {% endblock %}