-
Notifications
You must be signed in to change notification settings - Fork 3
Management commands
Dan Guy edited this page Mar 20, 2026
·
4 revisions
- gen_and_stage_login_dot_gov_cert - see also Login.gov cert rotation
- install_login_dot_gov_cert - see also Login.gov cert rotation
- update_creds_service - see also Login.gov cert rotation
- backout_login_dot_gov_cert - see also Login.gov cert rotation
- cleanup_login_dot_gov_certs - see also Login.gov cert rotation
- gen_locust_load_test_data
- dump_committee_data
- load_committee_data
- load_mocked_committee_data
- Loads
mock_committee_data.jsonfrom S3 bucket orcommittee_accounts/management/commands/committee_data.jsonfrom local container. - Syntax:
python manage.py load_mocked_committee_data [--s3]
- Loads
- delete_committee_account
- get_overview
- delete_committee_reports
- Delete all reports (and transactions) for a given committee. Optionally also delete contacts associated with the committee.
- Syntax:
python manage.py delete_committee_reports committee_id <id> [--delete-contacts]
- reset_submitting_report
- Reset all aspects of an in-progress report submission.
- Syntax:
python manage.py reset_submitting_report report_id <id>
- fail_open_submissions
- Set the state of all in-progress report submission tasks to FAILED.
- Syntax:
python manage.py fail_open_submissions
- add_user_to_committee
- Add a user to a committee account.
- Syntax:
python manage.py add_user_to_committee --user_email <email> --committee_id <ID>
- enable_committee_account
- Enables a committee account.
- Syntax:
python manage.py enable_committee_account --committee_id <ID>
- disable_committee_account
- Disables a committee account.
- Syntax:
python manage.py disable_committee_account --committee_id <ID>
- reset_security_consent_date
- Resets the security consent expiration date for the user corresponding to the given email.
- Syntax:
python manage.py reset_security_consent_date --email <email>
- disable_user
- Disable (or re-enable) a user with a given UUID or email.
- Syntax:
python manage.py disable_user [--uuid <UUID> | --email <email>] [--enable <true>]