[extensions-web] auth: Clean up some code



commit 2e3681ae7f35dbd1c9b72a6ce438822ff1c9fb04
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jun 13 15:02:43 2012 -0400

    auth: Clean up some code

 sweettooth/auth/views.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/auth/views.py b/sweettooth/auth/views.py
index 3262626..c5aa990 100644
--- a/sweettooth/auth/views.py
+++ b/sweettooth/auth/views.py
@@ -18,14 +18,12 @@ def profile(request, user):
 
     display_name = userobj.get_full_name() or userobj.username
     extensions = Extension.objects.visible().filter(creator=userobj)
-    reviews = CodeReview.objects.filter(reviewer=userobj)
 
     return render(request,
                   'registration/profile.html',
                   dict(user=userobj,
                        display_name=display_name,
                        extensions=extensions,
-                       reviews=reviews,
                        is_editable=is_editable))
 
 @ajax_view



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