[extensions-web] auth: Show only visible extensions from an author's page
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] auth: Show only visible extensions from an author's page
- Date: Tue, 7 Feb 2012 19:47:46 +0000 (UTC)
commit 7187fd44c75647acbea22cd9e31c5a456ffd69d7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Feb 7 13:23:25 2012 -0500
auth: Show only visible extensions from an author's page
sweettooth/auth/views.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/auth/views.py b/sweettooth/auth/views.py
index 3372a11..3262626 100644
--- a/sweettooth/auth/views.py
+++ b/sweettooth/auth/views.py
@@ -17,7 +17,7 @@ def profile(request, user):
is_editable = request.user == userobj
display_name = userobj.get_full_name() or userobj.username
- extensions = Extension.objects.filter(creator=userobj)
+ extensions = Extension.objects.visible().filter(creator=userobj)
reviews = CodeReview.objects.filter(reviewer=userobj)
return render(request,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]