summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/todolists/views.py b/todolists/views.py
index 9376ed68..8ad7be56 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -23,8 +23,8 @@ class TodoListForm(forms.ModelForm):
package_names = [s.strip() for s in
self.cleaned_data['packages'].split("\n")]
package_names = set(package_names)
- packages = Package.objects.filter(pkgname__in=package_names).exclude(
- repo__testing=True).select_related(
+ packages = Package.objects.filter(pkgname__in=package_names).filter(
+ repo__testing=False, repo__staging=False).select_related(
'arch', 'repo').order_by('arch')
return packages