annotate gpp/templates/smiley/smiley_farm.html @ 505:a5d11471d031

Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Dec 2011 19:13:38 +0000
parents 3ae999b0c53b
children
rev   line source
gremmie@1 1 <div class="smiley_farm">
gremmie@1 2 {% for s in smilies %}
bgneal@123 3 <img src="{{ s.image.url }}" alt="{{ s.code }}" title="{{ s.title }} {{ s.code }}" />
gremmie@1 4 {% endfor %}
gremmie@1 5 </div>