Skip to content

Management Commands

Andy Byers edited this page Jun 11, 2018 · 8 revisions

Janeway has numerous Custom Management Commands, here we will list them and give information about how to use them and what they do.

[auth]

changepassword
createsuperuser

[consortial_billing]

fetch_fixer_ex_rates

[contenttypes]

remove_stale_contenttypes

[cron]

execute_cron_tasks
send_digest_emails
send_reminders

[debug_toolbar]

debugsqlshell

[django]

check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver

[metrics]

accesses_to_historic
process_crossref_events
reload_access_dump

[sessions]

clearsessions

[staticfiles]

collectstatic
findstatic
runserver

[utils]

alter_domains
backup
build_assets
check_mailgun_stat
check_settings_files
clean_duplicate_settings
doi_check
generate_a_records
import_content
import_issue_images
import_jms_articles
import_jms_user
import_jms_users
import_journal_metadata
install_cron
install_janeway
install_journal
install_plugins
list_backend_articles
list_backend_users
migrate_plugins
move_press
nuke_db
nuke_import_cache
redirects
register_all_crossref
register_crossref_doi
reset_frozen_authors
restore_defaults_to_journals
run_upgrade
scrape_oai
scrape_ojs_page
scrape_up_page
show_configured_journals
show_id
similarity_check_csv
sort_journals_by_name
store_ithenticate_scores
sync_journals_to_sites
sync_settings_to_journals
up_fix_article_images
up_fix_name_imports
up_import_editing_article
up_import_review_article
update_defaults
update_defaults_json
update_emails
update_render_galleys

alter_domains

  • Location: /src/utils/management/commands/
  • Usage: python3 manage.py alter_domains journal_code (optional)
  • Purpose: This management command allows you to change the domains of any journal or the press and syncs this with the sites app.

Wiki has moved to read the docs.

Clone this wiki locally