summaryrefslogtreecommitdiff
path: root/devel/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-27 16:58:02 -0500
committerDan McGee <dan@archlinux.org>2010-03-27 18:09:42 -0500
commit1113462edcf69b81e93a9545198c1091e3bf6703 (patch)
tree84503426ee60cf85746914f2729ec1236fa22df5 /devel/views.py
parente317cf560aeb02c38b97193472f31a0caf92ce16 (diff)
Simplify code now that pkgbase is always definedrelease_2010-03-28
This allows some of our queries to get a lot simpler as well as removing the pkgbase_safe property added earlier. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/views.py')
-rw-r--r--devel/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/views.py b/devel/views.py
index 045e60f7..c202c735 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -23,7 +23,7 @@ def index(request):
'''the Developer dashboard'''
inner_q = PackageRelation.objects.filter(user=request.user).values('pkgbase')
packages = Package.objects.select_related('arch', 'repo').filter(needupdate=True)
- packages = packages.filter(Q(pkgname__in=inner_q) | Q(pkgbase__in=inner_q))
+ packages = packages.filter(pkgbase__in=inner_q)
page_dict = {
'todos': Todolist.objects.incomplete(),