diff mbox

[Branch,~linaro-validation/lava-dashboard/trunk] Rev 258: Use select_related in test run detail template

Message ID 20110819041912.15936.85920.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki Aug. 19, 2011, 4:19 a.m. UTC
------------------------------------------------------------
revno: 258
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: pristine
timestamp: Fri 2011-08-19 06:17:06 +0200
message:
  Use select_related in test run detail template
modified:
  dashboard_app/templates/dashboard_app/test_run_detail.html


--
lp:lava-dashboard
https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk

You are subscribed to branch lp:lava-dashboard.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'dashboard_app/templates/dashboard_app/test_run_detail.html'
--- dashboard_app/templates/dashboard_app/test_run_detail.html	2011-07-18 16:29:23 +0000
+++ dashboard_app/templates/dashboard_app/test_run_detail.html	2011-08-19 04:17:06 +0000
@@ -22,7 +22,7 @@ 
       <th>{% trans "Measurement" %}</th>
     </tr>
     <tbody>
-      {% for test_result in test_run.test_results.all %}
+      {% for test_result in test_run.test_results.select_related.all %}
       <tr>
         <td width="1%">{{ test_result.relative_index }}</td>
         <td>{{ test_result.test_case|default_if_none:"<em>Not specified</em>" }}</td>