diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-14 15:07:59 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-14 15:07:59 -0600 |
commit | d10acd3ebf889fc50054b4da9c1962bad79533e1 (patch) | |
tree | 38970704a658d9ed31585c5518007d48ade6bac6 /public | |
parent | 9b6561a2c1a99023a5cad68a1763a07c4aecae8d (diff) | |
parent | 7f7598cf43e6b630ac21bc9a435773773213ea60 (diff) |
Merge branch 'archweb-generic2'
Conflicts:
Makefile
templates/public/index.html
Diffstat (limited to 'public')
-rw-r--r-- | public/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views.py b/public/views.py index 2735d548..1ae091a0 100644 --- a/public/views.py +++ b/public/views.py @@ -73,7 +73,7 @@ def _mirror_urls(): '''In order to ensure this is lazily evaluated since we can't do sorting at the database level, make it a callable.''' urls = MirrorUrl.objects.select_related('mirror').filter( - protocol__default=True, + active=True, protocol__default=True, mirror__public=True, mirror__active=True, mirror__isos=True) sort_by = attrgetter('country.name', 'mirror.name') return sorted(urls, key=sort_by) |