1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 15:45:23 +00:00

order Compute objects by name

This commit is contained in:
Jan Krcmar 2015-11-13 09:13:36 +00:00
parent 83ac06782a
commit 164c9a9145

View file

@ -41,7 +41,7 @@ def computes(request):
return compute_data return compute_data
error_messages = [] error_messages = []
computes = Compute.objects.filter() computes = Compute.objects.filter().order_by('name')
computes_info = get_hosts_status(computes) computes_info = get_hosts_status(computes)
if request.method == 'POST': if request.method == 'POST':