Author: brosner
Date: Thu Oct  9 23:56:28 2008
New Revision: 1030

Modified:
     
trunk/projects/complete_project/templates/bookmarks/plugins/profiles/profile.html

Log:
Use select_related on saved bookmarks shown on the profile page.

Modified:  
trunk/projects/complete_project/templates/bookmarks/plugins/profiles/profile.html
==============================================================================
---  
trunk/projects/complete_project/templates/bookmarks/plugins/profiles/profile.html
        
(original)
+++  
trunk/projects/complete_project/templates/bookmarks/plugins/profiles/profile.html
        
Thu Oct  9 23:56:28 2008
@@ -4,7 +4,7 @@

  {% if owner.saved_bookmarks.all %}
      <table class="bookmarks narrow">
-        {% for bookmark_instance in owner.saved_bookmarks.all %}
+        {% for bookmark_instance in  
owner.saved_bookmarks.all.select_related %}
              <tr class="{% cycle odd,even %}">
                  <td class="meta">
                      {{ bookmark_instance.saved|date }}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to