annotate gpp/templates/core/social_block.html @ 463:452835f4429f

Fixing #225; for some reason MySQL finds the user 'John' when searching for 'John ' (note trailing space). This doesn't happen on SQLite. This causes a NoReverseMatch when searching for 'John ' in the member search. The solution is to call strip() on the form field contents in the clean_username() method of the search form.
author Brian Neal <bgneal@gmail.com>
date Sat, 09 Jul 2011 02:00:48 +0000
parents a1e3724f0799
children
rev   line source
bgneal@341 1 {% extends 'side_block.html' %}
bgneal@341 2 {% block block_title %}SG101 on the Web{% endblock %}
bgneal@341 3 {% block block_content %}
bgneal@341 4 <p class="centeredImage">
bgneal@341 5 <a href="http://www.twitter.com/SurfGuitar101"><img src="http://twitter-badges.s3.amazonaws.com/twitter-a.png" alt="Follow SurfGuitar101 on Twitter"/></a><br />
bgneal@355 6 <a href="http://www.youtube.com/user/surfguitar101?feature=creators_cornier-http%3A//s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png"><img src="http://s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png" alt="Subscribe to me on YouTube"/></a>
bgneal@341 7 </p>
bgneal@341 8 {% endblock %}