Management Commands - DDMAL/CantusDB GitHub Wiki

CantusDB's main_app app has several management commands which are kept in the CantusDB/django/cantusdb_project/main_app/management/commands/ directory.

populate commands

Nota bene: Most of the commands below have been replaced by the touch_all_chants.py command. Most of the fields implicated below are automatically updated on chant save by a function in signals.py; by saving each chant in the database, the values of each of these fields is brought up-to-date.

This section is a bit work-in-progress at this point; we should do a census of all the management commands currently in main_app/management/commands to ensure their documentation is all up to date.

populate_chant_and_melody_counts

(code)

populate_chant_fields

(code)

populate_is_last_chant_in_feast

(code)

populate_next_chant_fields

(code)

other commands