Skip to content

rm_submission

Kirk Barden edited this page May 22, 2020 · 4 revisions

rm_submission is responsible for deleting a single submission from the USAspending database. It is executed from the command line via ./manage.py rm_submission submission_id but is also called directly from load_submission when an updated submission is detected.

rm_submission accepts one command line argument:

  • submission_id is a required positional argument used to indicate a single Broker submission.submission_id to be loaded.

Literally, all it does is delete a submission. It would be difficult to write a simpler management command (that actually does something).

Clone this wiki locally