diff options
author | Dan McGee <dan@archlinux.org> | 2010-04-17 18:09:31 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-04-17 18:09:31 +0200 |
commit | 8ea4aa21d15138461f5ebb8387c595ad8314828a (patch) | |
tree | a492e269e85996aa8cee33cd8fd4bb9adc11ae86 /main | |
parent | 8ec2e404514770cce407a34b8149097d51192a40 (diff) | |
download | archweb-8ea4aa21d15138461f5ebb8387c595ad8314828a.tar.gz archweb-8ea4aa21d15138461f5ebb8387c595ad8314828a.tar.xz |
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>
Diffstat (limited to 'main')
-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 5ec38ce..a7a750a 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): |