def _inactivate_record(record):
record.active = False<EOL>record.save()<EOL>
Disables database records by setting the 'active' attribute to False
The queries in this module filter out inactive records as part of their criteria
This effectively allows us to soft-delete records so they are not lost forever