From patchwork Fri Aug 19 04:19:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 3531 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5337F23E54 for ; Fri, 19 Aug 2011 04:19:15 +0000 (UTC) Received: from mail-ew0-f52.google.com (mail-ew0-f52.google.com [209.85.215.52]) by fiordland.canonical.com (Postfix) with ESMTP id 48C7DA183A8 for ; Fri, 19 Aug 2011 04:19:15 +0000 (UTC) Received: by mail-ew0-f52.google.com with SMTP id 28so1410272ewy.11 for ; Thu, 18 Aug 2011 21:19:15 -0700 (PDT) Received: by 10.213.27.27 with SMTP id g27mr25956ebc.18.1313727554233; Thu, 18 Aug 2011 21:19:14 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.213.102.5 with SMTP id e5cs112831ebo; Thu, 18 Aug 2011 21:19:14 -0700 (PDT) Received: by 10.216.122.133 with SMTP id t5mr1256017weh.31.1313727553493; Thu, 18 Aug 2011 21:19:13 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com [91.189.90.7]) by mx.google.com with ESMTPS id u6si7382587wec.21.2011.08.18.21.19.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Aug 2011 21:19:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QuGY4-0008Vj-QP for ; Fri, 19 Aug 2011 04:19:12 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id B6811E0444 for ; Fri, 19 Aug 2011 04:19:12 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard X-Launchpad-Branch: ~linaro-validation/lava-dashboard/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 258 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [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> Date: Fri, 19 Aug 2011 04:19:12 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13697"; Instance="initZopeless config overlay" X-Launchpad-Hash: d42ba375726f5758a3ffed087c777ddde1109b4c ------------------------------------------------------------ revno: 258 committer: Zygmunt Krynicki 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 === 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 @@ {% trans "Measurement" %} - {% for test_result in test_run.test_results.all %} + {% for test_result in test_run.test_results.select_related.all %} {{ test_result.relative_index }} {{ test_result.test_case|default_if_none:"Not specified" }}