From ee507a5b81d7a21eaa67da4c848522a5a97d2e3c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 28 Dec 2012 14:44:09 -0600 Subject: Add a todolist package details link template tag Given the way we retrieve certain related objects, it makes more sense to use a custom tag here rather than our generic package details link tag. When viewing a large todolist, this saves significantly on the number of queries we need to build the page. Signed-off-by: Dan McGee --- templates/devel/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/devel') diff --git a/templates/devel/index.html b/templates/devel/index.html index 5715104..6d30440 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -2,6 +2,7 @@ {% load static from staticfiles %} {% load cache %} {% load package_extras %} +{% load todolists %} {% block title %}Arch Linux - Developer Dashboard{% endblock %} @@ -61,7 +62,7 @@ {{ todopkg.todolist.name }} - {% pkg_details_link todopkg.pkg %} + {% todopkg_details_link todopkg %} {{ todopkg.repo.name }} {{ todopkg.arch.name }} {{ todopkg.pkg.maintainers|join:', ' }} -- cgit v1.2.3-24-g4f1b