Manage.py命令选项

ubuntu@i-8p9fxxg6:/edx/app/edxapp/edx-platform$ sudo -u www-data /edx/bin/python.edxapp ./manage.py lms --settings aws help
2015-10-22 21:06:19,152 INFO 17136 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
Usage: manage.py subcommand [options] [args]

Options:
-v VERBOSITY, --verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=normal output,
2=verbose output, 3=very verbose output
–settings=SETTINGS The Python path to a settings module, e.g.
“myproject.settings.main”. If this isn’t provided, the
DJANGO_SETTINGS_MODULE environment variable will be
used.
–pythonpath=PYTHONPATH
A directory to add to the Python path, e.g.
"/home/djangoprojects/myproject".
–traceback Print traceback on exception
–version show program’s version number and exit
-h, --help show this help message and exit

Type 'manage.py help ’ for help on a specific subcommand.

Available subcommands:

[auth]
changepassword
createsuperuser

[certificates]
cert_whitelist
create_fake_cert
fix_ungraded_certs
gen_cert_report
regenerate_user
resubmit_error_certificates
ungenerated_certs

[course_groups]
remove_users_from_multiple_cohorts

[course_structures]
generate_course_structure

[courseware]
clean_history
clean_xml
dump_course_ids
dump_course_structure
export_course
import
regrade_partial
remove_input_state

[dashboard]
git_add_course

[debug]
dump_xml_courses

[django]
cleanup
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
reset
runfcgi
shell
sql
sqlall
sqlclear
sqlcustom
sqlflush
sqlindexes
sqlinitialdata
sqlreset
sqlsequencereset
startapp
startproject
validate

[django_comment_client]
assign_role
assign_roles_for_course
create_roles_for_existing
get_discussion_link
reload_forum_users
seed_permissions_roles
show_permissions

[django_nose]
test

[django_openid_auth]
openid_cleanup

[djcelery]
camqadm
celery
celerybeat
celerycam
celeryctl
celeryd
celeryd_detach
celeryd_multi
celeryev
celerymon
djcelerymon

[edx_sga]
sga_migrate_submissions

[edxmako]
preprocess_assets

[instructor]
compute_grades
dump_grades
openended_post
openended_stats

[licenses]
generate_serial_numbers
import_serial_numbers

[openassessment]
create_oa_submissions
performance_test_for_submissions
simulate_ai_grading_error
upload_oa_data

[psychometrics]
init_psychometrics

[shoppingcart]
retire_order

[south]
convert_to_south
datamigration
graphmigrations
migrate
migrationcheck
schemamigration
startmigration
syncdb
testserver

[static_replace]
clear_collectstatic_cache

[staticfiles]
collectstatic
findstatic
runserver

[student]
6002exportusers
6002importusers
add_to_group
anonymized_id_mapping
assigngroups
cert_restriction
change_enrollment
create_random_users
create_user
emaillist
get_grades
set_staff
sync_user_info
transfer_students
userinfo

[user_api]
email_opt_in_list

[verify_student]
retry_failed_photo_verifications

[wiki]
wikiviz

Powered by eduStack & ifLab