Mercurial > public > bravenewsurf
annotate 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 |
rev | line source |
---|---|
bgneal@6 | 1 {% extends 'base.html' %} |
bgneal@6 | 2 {% load core_tags %} |
bgneal@6 | 3 {% block title %}Bands{% endblock %} |
bgneal@6 | 4 {% block content %} |
bgneal@6 | 5 {% navbar 'bands' %} |
bgneal@6 | 6 <h1>The Bands</h1> |
bgneal@6 | 7 <p>This is too "wall of text-y", so maybe break it up with band photos. And/or put a javascript slideshow of all the bands up here at the top.</p> |
bgneal@6 | 8 <dl> |
bgneal@6 | 9 {% for band in object_list %} |
bgneal@6 | 10 <dt><a href="{{ band.url }}">{{ band.name }}</a></dt> |
bgneal@6 | 11 <dd>{{ band.notes|linebreaksbr }}</dd> |
bgneal@6 | 12 {% endfor %} |
bgneal@6 | 13 </dl> |
bgneal@6 | 14 {% endblock %} |