summaryrefslogtreecommitdiff
path: root/todolists/views.py
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-08-03 16:05:35 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-08-03 16:05:35 -0300
commitfbd23db51b7160a308cd88e407e676994eb08b10 (patch)
treee3816cc4e3f0ee07539fb4464b2d886a43ecc318 /todolists/views.py
parenta8b2fc84ba96c83ec1addf89ac04608fbf572705 (diff)
parent0f6c80e9a36bc5770e95543b4374c5ace4383cf5 (diff)
Merge branch 'master' of git://projects.archlinux.org/archweb
Conflicts: packages/urls.py templates/packages/details.html
Diffstat (limited to 'todolists/views.py')
-rw-r--r--todolists/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/todolists/views.py b/todolists/views.py
index d6a25463..a63516e8 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