view gpp/templates/shoutbox/shout.html @ 118:a20b2c492d55

Reduced some sql queries by adding a select_related and monkey patching user profiles onto a user list in shoutbox and the bio/member's list, respectively.
author Brian Neal <bgneal@gmail.com>
date Sat, 24 Oct 2009 02:39:19 +0000
parents f408971657b9
children 48621ba5c385
line wrap: on
line source
{% load smiley_tags %}
<p style="display:none;">
<span class="shoutbox-user">{{ shout.user.username }}:</span>
<span class="shoutbox-shout">{{ shout.shout|smilify|urlizetrunc:15 }}</span>
<span class="shoutbox-date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span>
</p>