[extensions-web] Fix unreviewed extensions list on profile page



commit 6610250a51e9a5ed31e9c5864956472aea8127a9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Oct 19 13:48:25 2012 -0400

    Fix unreviewed extensions list on profile 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 741307f..59ad538 100644
--- a/sweettooth/auth/views.py
+++ b/sweettooth/auth/views.py
@@ -20,7 +20,7 @@ def profile(request, user):
     extensions = Extension.objects.visible().filter(creator=userobj).order_by('name')
 
     if is_editable:
-        unreviewed = ExtensionVersion.objects.unreviewed().filter(creator=userobj)
+        unreviewed = ExtensionVersion.objects.unreviewed().filter(extension__creator=userobj)
     else:
         unreviewed = []
 



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