summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-12-31 11:31:35 -0600
committerDan McGee <dan@archlinux.org>2012-12-31 11:31:35 -0600
commit7952fe0ede3a5a68a64f05eccb180194394652f3 (patch)
tree336bd947ab85efa8dbe5758f63393d3533f8f5e6 /devel
parent827b426b4dce6641e77dac975dae180ce6e20b0a (diff)
Mark todolist packages as removed rather than deleting them
This makes it easier to see the progression of a todolist and its contents easier since we are no longer losing the data. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/views.py b/devel/views.py
index e01590a0..90839847 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -44,7 +44,7 @@ def index(request):
todopkgs = TodolistPackage.objects.select_related(
'todolist', 'pkg', 'arch', 'repo').exclude(
- status=TodolistPackage.COMPLETE)
+ status=TodolistPackage.COMPLETE).filter(removed__isnull=True)
todopkgs = todopkgs.filter(pkgbase__in=inner_q).order_by(
'todolist__name', 'pkgname')