view 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
line wrap: on
line source
{% extends 'base.html' %}
{% load core_tags %}
{% block title %}Bands{% endblock %}
{% block content %}
{% navbar 'bands' %}
<h1>The Bands</h1>
<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>
<dl>
{% for band in object_list %}
<dt><a href="{{ band.url }}">{{ band.name }}</a></dt>
<dd>{{ band.notes|linebreaksbr }}</dd>
{% endfor %}
</dl>
{% endblock %}