summaryrefslogtreecommitdiff
path: root/packages/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-07-06 11:08:22 -0500
committerDan McGee <dan@archlinux.org>2011-07-06 11:08:22 -0500
commit0f9a1da2cb9dd2a20a5e12bb346ec460b4335f9f (patch)
treedfd77dcbfcf2037ab894ac39287ba777850556e9 /packages/models.py
parent52363933c0b04848a26c8ed65e7f975ccfc5b846 (diff)
Move package signoff URL to more logical location
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/models.py')
-rw-r--r--packages/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/models.py b/packages/models.py
index 0983c642..faf5f398 100644
--- a/packages/models.py
+++ b/packages/models.py
@@ -25,8 +25,7 @@ class PackageRelation(models.Model):
def get_associated_packages(self):
# TODO: delayed import to avoid circular reference
from main.models import Package
- return Package.objects.filter(pkgbase=self.pkgbase).select_related(
- 'arch', 'repo')
+ return Package.objects.normal().filter(pkgbase=self.pkgbase)
def repositories(self):
packages = self.get_associated_packages()