From 3e31808521e990b3b86d25de7d49cdd90a2de29f Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 8 Mar 2008 12:11:02 -0800 Subject: More changes to the multiarch model. --- todolists/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todolists/views.py') diff --git a/todolists/views.py b/todolists/views.py index 59dc5db..dbfd440 100644 --- a/todolists/views.py +++ b/todolists/views.py @@ -49,7 +49,7 @@ def add(request): todo.save() # now link in packages for p in request.POST.get('packages').split("\n"): - for pkg in Package.objects.filter(pkgname=p.strip()): + for pkg in Package.objects.filter(pkgname=p.strip()).order_by('arch'): todopkg = TodolistPkg( list = todo, pkg = pkg) -- cgit v1.2.3-24-g4f1b