Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
c641e707
Commit
c641e707
authored
May 18, 2012
by
Kostas Papadimitriou
Browse files
Order results by state
parent
a70c590b
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/helpdesk/views.py
View file @
c641e707
...
...
@@ -19,8 +19,8 @@ def account(request, account):
"""
Account details view
"""
vms
=
VirtualMachine
.
objects
.
all
(
)
networks
=
Network
.
objects
.
all
(
)
vms
=
VirtualMachine
.
objects
.
filter
().
order_by
(
'deleted'
)
networks
=
Network
.
objects
.
filter
().
order_by
(
'state'
)
user_context
=
{
'vms'
:
vms
,
'account'
:
account
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment