diff options
author | Dan McGee <dan@archlinux.org> | 2012-12-31 18:31:35 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-12-31 18:31:35 +0100 |
commit | 7952fe0ede3a5a68a64f05eccb180194394652f3 (patch) | |
tree | 336bd947ab85efa8dbe5758f63393d3533f8f5e6 /devel | |
parent | 827b426b4dce6641e77dac975dae180ce6e20b0a (diff) | |
download | archweb-7952fe0ede3a5a68a64f05eccb180194394652f3.tar.gz archweb-7952fe0ede3a5a68a64f05eccb180194394652f3.tar.xz |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/views.py b/devel/views.py index e01590a..9083984 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') |