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:
parent
83ac06782a
commit
164c9a9145
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||||
|
|
Loading…
Reference in a new issue