Mercurial > public > sg101
view gpp/templates/podcast/detail.html @ 197:2baadae33f2e
Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 10 Apr 2010 04:32:24 +0000 |
parents | 1ed461fd2030 |
children | 7fdfc9b3c71a |
line wrap: on
line source
{% extends 'podcast/base.html' %} {% block title %}Podcast: {{ podcast.title }}{% endblock %} {% block podcast-content %} <div class="breadcrumb"> <a href="{% url podcast.views.index %}">Podcast Index</a> >> {{ podcast.title }} </div> <h3>{{ podcast.pubdate|date:"F d, Y" }} • {{ podcast.title }}</h3> <h4>{{ podcast.subtitle }}</h4> {{ podcast.summary|linebreaks }} <ul> <li> <a href="{{ podcast.enclosure_url }}">Download Now ({{ ext }})</a> • {{ podcast.enclosure_length|filesizeformat }} • {{ podcast.duration }} </li> {% if alt_ext %} <li> <a href="{{ podcast.alt_enclosure_url }}">Download Now ({{ alt_ext }})</a> </li> {% endif %} </ul> {% endblock %}