Mercurial > public > bravenewsurf
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bns_website/templates/bands/band_list.html Sat Oct 29 17:11:58 2011 -0500 @@ -0,0 +1,14 @@ +{% extends 'base.html' %} +{% load core_tags %} +{% block title %}Bands{% endblock %} +{% block content %} +{% navbar 'bands' %} +<h1>The Bands</h1> +<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> +<dl> +{% for band in object_list %} +<dt><a href="{{ band.url }}">{{ band.name }}</a></dt> +<dd>{{ band.notes|linebreaksbr }}</dd> +{% endfor %} +</dl> +{% endblock %}