view gpp/templates/shoutbox/shout.html @ 231:a2d388ed106e

Guard against the request object not having a user attribute in my Who's online middleware. This can happen if a redirect is issued before the authentication middleware gets to run.
author Brian Neal <bgneal@gmail.com>
date Wed, 14 Jul 2010 02:35:39 +0000
parents e1d1a70d312d
children 4746df47a538
line wrap: on
line source
<p style="display:none;">
<span class="shoutbox-user">{{ shout.user.username }}:</span>
<span class="shoutbox-shout">{{ shout.html|safe }}</span>
<span class="shoutbox-date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span>
</p>