summaryrefslogtreecommitdiffstats
path: root/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-04 04:07:26 +0100
committerDan McGee <dan@archlinux.org>2010-03-06 22:37:02 +0100
commitd4155f7d0fcec64f45f713e5bfdd33db990023b0 (patch)
tree1cd1248a8ad7ee2425eb6b806b41880558bc6cbd /todolists
parent96b4c52f6d536e5fc21389b65528f2b116aa74ca (diff)
downloadarchweb-d4155f7d0fcec64f45f713e5bfdd33db990023b0.tar.gz
archweb-d4155f7d0fcec64f45f713e5bfdd33db990023b0.tar.xz
Use repo.testing flag instead of test-based checks
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index f176e39..411c0db 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -27,7 +27,7 @@ class TodoListForm(forms.Form):
package_names = set(package_names)
packages = Package.objects.filter(
pkgname__in=package_names).exclude(
- repo__name__endswith="Testing").order_by('arch')
+ repo__testing=True).order_by('arch')
return packages