mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-23 22:55:23 +00:00
instance view order Computes by name
This commit is contained in:
parent
40049540ee
commit
c58374ea2e
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ def instance(request, compute_id, vname):
|
|||
error_messages = []
|
||||
messages = []
|
||||
compute = get_object_or_404(Compute, pk=compute_id)
|
||||
computes = Compute.objects.all()
|
||||
computes = Compute.objects.all().order_by('name')
|
||||
computes_count = computes.count()
|
||||
users = User.objects.all().order_by('username')
|
||||
publickeys = UserSSHKey.objects.filter(user_id=request.user.id)
|
||||
|
|
Loading…
Reference in a new issue