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
23f38a5d
Commit
23f38a5d
authored
Nov 26, 2012
by
Sofia Papagiannaki
Browse files
Fix ordering in snf-manage listing commands
parent
e23c2e1b
Changes
4
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/management/commands/group-list.py
View file @
23f38a5d
...
...
@@ -56,7 +56,7 @@ class Command(BaseCommand):
if
args
:
raise
CommandError
(
"Command doesn't accept any arguments"
)
groups
=
Group
.
objects
.
all
()
groups
=
Group
.
objects
.
all
()
.
order_by
(
'id'
)
labels
=
(
'id'
,
'name'
,
'permissions'
)
columns
=
(
3
,
12
,
50
)
...
...
snf-astakos-app/astakos/im/management/commands/invitation-list.py
View file @
23f38a5d
...
...
@@ -55,7 +55,7 @@ class Command(BaseCommand):
if
args
:
raise
CommandError
(
"Command doesn't accept any arguments"
)
invitations
=
Invitation
.
objects
.
all
()
invitations
=
Invitation
.
objects
.
all
()
.
order_by
(
'id'
)
labels
=
(
'id'
,
'inviter'
,
'email'
,
'real name'
,
'code'
,
'consumed'
)
columns
=
(
3
,
24
,
24
,
24
,
20
,
4
,
8
)
...
...
snf-astakos-app/astakos/im/management/commands/service-list.py
View file @
23f38a5d
...
...
@@ -52,7 +52,7 @@ class Command(BaseCommand):
if
args
:
raise
CommandError
(
"Command doesn't accept any arguments"
)
services
=
Service
.
objects
.
all
()
services
=
Service
.
objects
.
all
()
.
order_by
(
'id'
)
labels
=
(
'id'
,
'name'
,
'url'
,
'auth_token'
,
'icon'
)
columns
=
(
3
,
12
,
40
,
20
,
20
)
...
...
snf-astakos-app/astakos/im/management/commands/user-list.py
View file @
23f38a5d
...
...
@@ -65,7 +65,7 @@ class Command(BaseCommand):
if
args
:
raise
CommandError
(
"Command doesn't accept any arguments"
)
users
=
AstakosUser
.
objects
.
all
()
users
=
AstakosUser
.
objects
.
all
()
.
order_by
(
'id'
)
if
options
[
'pending'
]:
users
=
users
.
filter
(
is_active
=
False
)
elif
options
[
'pending_send_mail'
]:
...
...
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