Mercurial > public > sg101
view gpp/templates/weblinks/link.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 | 6a5549c2efb5 |
children | 0e7c7231dea9 |
line wrap: on
line source
<dt> <h4>{{ link.title }}</h4> </dt> <dd> <p>{{ link.description }}</p> <form action="{% url weblinks-visit link.id %}" method="post">{% csrf_token %} <table class="link-stats"> <tr> <th>Date Added:</th><td>{{ link.date_added|date:"M d, Y" }}</td> <th>Hits:</th><td>{{ link.hits }}</td> <td> <a href="#" class="weblinks-broken" id="link-{{ link.id }}"><img src="{{ MEDIA_URL }}icons/link_break.png" alt="Broken Link" title="Report this link as broken" /></a> </td> </tr> <tr><td><input type="submit" value="Visit Site" /></td></tr> </table> </form> <br /> </dd>