Mercurial > public > sg101
diff gpp/bio/views.py @ 329:000c006fee97
Various small changes to reduce database hits.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 23 Feb 2011 03:40:18 +0000 |
parents | 1ba2c6bf6eb7 |
children | d83296cac940 |
line wrap: on
line diff
--- a/gpp/bio/views.py Tue Feb 22 05:40:29 2011 +0000 +++ b/gpp/bio/views.py Wed Feb 23 03:40:18 2011 +0000 @@ -52,7 +52,7 @@ except InvalidPage: raise Http404 - # Attach user profiles to each post to avoid using get_user_profile() in + # Attach user profiles to each user to avoid using get_user_profile() in # the template. users = set(user.id for user in the_page.object_list) @@ -66,7 +66,7 @@ 'page': the_page, 'type': type, 'num_members': num_members, - }, + }, context_instance = RequestContext(request)) #######################################################################