summaryrefslogtreecommitdiff
path: root/devel/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/views.py')
-rw-r--r--devel/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/views.py b/devel/views.py
index 7e5f79ae..29dfcd00 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -71,7 +71,7 @@ def change_profile(request):
@login_required
def mirrorlist(request):
- mirrors = Mirror.objects.all()
+ mirrors = Mirror.objects.select_related().all()
return render_to_response('devel/mirrorlist.html',
RequestContext(request, {'mirror_list': mirrors}))