annotate gpp/templates/search/indexes/bio/userprofile_text.txt @ 388:c3231af55778

For #191; r410 is wrong: it is returning the wrong posts. Rework. MySQL is not using an index on our query, and it is taking 10+ seconds. Replace this slow query with a loop that loops over the public forums, then sorts and returns the posts.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Mar 2011 05:03:51 +0000
parents d424b8bae71d
children
rev   line source
bgneal@223 1 {{ object.user.username }}
bgneal@223 2 {{ object.user.get_full_name }}
bgneal@223 3 {{ object.location }}
bgneal@223 4 {{ object.occupation }}
bgneal@223 5 {{ object.interests }}
bgneal@223 6 {{ object.profile_text }}
bgneal@223 7 {{ object.signature }}
bgneal@277 8 {% for website in object.user.website_profiles.all %}
bgneal@277 9 {{ website.name }}
bgneal@277 10 {{ website.url }}
bgneal@277 11 {% endfor %}