oops, wrong way round
This commit is contained in:
parent
9e1a68aac5
commit
0dbc4c21e0
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class NetworkView(DetailView):
|
||||||
def me(request):
|
def me(request):
|
||||||
context = RequestContext(request)
|
context = RequestContext(request)
|
||||||
context['followers'] = simplejson.dumps(
|
context['followers'] = simplejson.dumps(
|
||||||
[{'name': unicode(follower), 'avatar': follower.avatar_url} for follower in request.gh_user.following.all()])
|
[{'name': unicode(follower), 'avatar': follower.avatar_url} for follower in GHUser.objects.filter(following=request.gh_user)])
|
||||||
return render_to_response('me.html', context)
|
return render_to_response('me.html', context)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue