Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
58c92917
Commit
58c92917
authored
Aug 04, 2015
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the help text for cert_whitelist
fix the indentation fix the indentation
parent
0e3be9de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
lms/djangoapps/certificates/management/commands/cert_whitelist.py
+9
-5
No files found.
lms/djangoapps/certificates/management/commands/cert_whitelist.py
View file @
58c92917
...
...
@@ -28,15 +28,19 @@ class Command(BaseCommand):
help
=
"""
Sets or gets the certificate whitelist for a given
user/course
user
(s)
/course
Add a user to the whitelist for a course
Add a user
or list of users
to the whitelist for a course
$ ... cert_whitelist --add joe -c "MITx/6.002x/2012_Fall"
OR
$ ... cert_whitelist --add joe,jenny,tom,jerry -c "MITx/6.002x/2012_Fall"
Remove a user from the whitelist for a course
Remove a user
or list of users
from the whitelist for a course
$ ... cert_whitelist --del joe -c "MITx/6.002x/2012_Fall"
OR
$ ... cert_whitelist --del joe,jenny,tom,jerry -c "MITx/6.002x/2012_Fall"
Print out who is whitelisted for a course
...
...
@@ -49,13 +53,13 @@ class Command(BaseCommand):
metavar
=
'USER'
,
dest
=
'add'
,
default
=
False
,
help
=
'user to add to the certificate whitelist'
),
help
=
'user
or list of users
to add to the certificate whitelist'
),
make_option
(
'-d'
,
'--del'
,
metavar
=
'USER'
,
dest
=
'del'
,
default
=
False
,
help
=
'user to remove from the certificate whitelist'
),
help
=
'user
or list of users
to remove from the certificate whitelist'
),
make_option
(
'-c'
,
'--course-id'
,
metavar
=
'COURSE_ID'
,
...
...
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