diff options
author | Dan McGee <dan@archlinux.org> | 2010-04-17 11:09:31 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-04-17 11:09:31 -0500 |
commit | 8ea4aa21d15138461f5ebb8387c595ad8314828a (patch) | |
tree | a492e269e85996aa8cee33cd8fd4bb9adc11ae86 | |
parent | 8ec2e404514770cce407a34b8149097d51192a40 (diff) |
Maintainer doesn't exist on package anymore
So remove it from the select_related() call on todo lists.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | main/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class Todolist(models.Model): # 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): |