Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bread-and-pepper/django-userena
Browse files Browse the repository at this point in the history
  • Loading branch information
wunki committed Aug 19, 2013
2 parents c434b4c + 2595e9f commit 51a7f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userena/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_context_data(self, **kwargs):

def get_queryset(self):
profile_model = get_profile_model()
queryset = profile_model.objects.get_visible_profiles(self.request.user)
queryset = profile_model.objects.get_visible_profiles(self.request.user).select_related()
return queryset

@secure_required
Expand Down

0 comments on commit 51a7f44

Please sign in to comment.