From 164c9a9145832f16a008b58847026cd603d8baa5 Mon Sep 17 00:00:00 2001 From: Jan Krcmar Date: Fri, 13 Nov 2015 09:13:36 +0000 Subject: [PATCH] order Compute objects by name --- computes/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/computes/views.py b/computes/views.py index 39af4d0..63c17f8 100644 --- a/computes/views.py +++ b/computes/views.py @@ -41,7 +41,7 @@ def computes(request): return compute_data error_messages = [] - computes = Compute.objects.filter() + computes = Compute.objects.filter().order_by('name') computes_info = get_hosts_status(computes) if request.method == 'POST':