annotate 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 |
rev |
line source |
bgneal@12
|
1 {% load smiley_tags %}
|
bgneal@12
|
2 <p style="display:none;">
|
bgneal@12
|
3 <span class="shoutbox-user">{{ shout.user.username }}:</span>
|
bgneal@12
|
4 <span class="shoutbox-shout">{{ shout.shout|smilify|urlizetrunc:15 }}</span>
|
bgneal@12
|
5 <span class="shoutbox-date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span>
|
bgneal@12
|
6 </p>
|