[extensions-web] auth: Show all extensions, not just visible ones



commit e56a4e480027e2e8580cb9fd5ccb0bcc80b995d2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jun 13 15:04:24 2012 -0400

    auth: Show all extensions, not just visible ones

 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 c5aa990..2dd9bec 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.visible().filter(creator=userobj)
+    extensions = Extension.objects.filter(creator=userobj).order_by('name')
 
     return render(request,
                   'registration/profile.html',



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]