Tasks

Tasks are functions that are executed eventually or periodically, as the case may be, that are not part of the primary flow of the application. Audit app tasks are:

set_models_name_in_db

Function that obtains the dictionary with the models of each app (apps_audit_models) and calls the register_models_in_audit function to register them. This function is called from model_logs_list view.

register_models_in_audit

This function is called from set_models_name_in_db and logs the system models in ModelListLog.

set_urls_path_in_db

Function that obtains the urls set in the system and registers them in the UrlListLog model. This function is called from urls_logs_list view.