From 8ea4aa21d15138461f5ebb8387c595ad8314828a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 17 Apr 2010 11:09:31 -0500 Subject: Maintainer doesn't exist on package anymore So remove it from the select_related() call on todo lists. Signed-off-by: Dan McGee --- main/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/models.py b/main/models.py index 5ec38ceb..a7a750ac 100644 --- a/main/models.py +++ b/main/models.py @@ -338,7 +338,7 @@ def packages(self): # select_related() does not use LEFT OUTER JOIN for nullable ForeignKey # fields. That is why we need to explicitly list the ones we want. return TodolistPkg.objects.select_related( - 'pkg__repo', 'pkg__arch', 'pkg__maintainer').filter(list=self).order_by('pkg') + 'pkg__repo', 'pkg__arch').filter(list=self).order_by('pkg') @property def package_names(self): -- cgit v1.2.3-54-g00ecf