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
d01e7b22
Commit
d01e7b22
authored
Feb 26, 2012
by
Antony Chazapis
Browse files
Clear out management command descriptions.
parent
e0bfcf77
Changes
5
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/README
View file @
d01e7b22
...
...
@@ -51,10 +51,15 @@ Administrator functions
Available as extensions to Django's command-line management utility:
============ ======================
Name Description
============ ======================
...
============ ======================
=============== ===========================
Name Description
=============== ===========================
activateuser Activates one or more users
createuser Create a user
inviteuser Invite a user
listinvitations List invitations
listusers List users
modifyuser Modify a user's attributes
showinvitation Show invitation info
showuser Show user info
=============== ===========================
snf-astakos-app/astakos/im/management/commands/createuser.py
View file @
d01e7b22
...
...
@@ -48,7 +48,7 @@ def generate_password():
class
Command
(
BaseCommand
):
args
=
"<email> <first name> <last name> <affiliation>"
help
=
"
Modify
a user
's attributes
"
help
=
"
Create
a user"
option_list
=
BaseCommand
.
option_list
+
(
make_option
(
'--active'
,
...
...
snf-astakos-app/astakos/im/management/commands/inviteuser.py
View file @
d01e7b22
...
...
@@ -44,7 +44,7 @@ from ._common import get_user
class
Command
(
BaseCommand
):
args
=
"<inviter id or email> <email> <real name>"
help
=
"
Activates one or more
user
s
"
help
=
"
Invite a
user"
def
handle
(
self
,
*
args
,
**
options
):
if
len
(
args
)
!=
3
:
...
...
snf-astakos-app/astakos/im/management/commands/listinvitations.py
View file @
d01e7b22
...
...
@@ -41,7 +41,7 @@ from ._common import format_bool
class
Command
(
BaseCommand
):
help
=
"List
user
s"
help
=
"List
invitation
s"
option_list
=
BaseCommand
.
option_list
+
(
make_option
(
'-c'
,
...
...
snf-astakos-app/astakos/im/management/commands/showinvitation.py
View file @
d01e7b22
...
...
@@ -39,7 +39,7 @@ from ._common import format_bool, format_date
class
Command
(
BaseCommand
):
help
=
"Show
user
info"
help
=
"Show
invitation
info"
def
handle
(
self
,
*
args
,
**
options
):
if
len
(
args
)
!=
1
:
...
...
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