mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
4fc0a999ea
* Introduce job_start and job_end signals, and receivers to process event rules * Complete signals documentation
942 B
942 B
Signals
In addition to Django's built-in signals, NetBox defines some of its own, listed below.
post_clean
This signal is sent by models which inherit from CustomValidationMixin
at the end of their clean()
method.
Receivers
extras.signals.run_custom_validators()
core.job_start
This signal is sent whenever a background job is started.
Receivers
extras.signals.process_job_start_event_rules()
core.job_end
This signal is sent whenever a background job is terminated.
Receivers
extras.signals.process_job_end_event_rules()
core.pre_sync
This signal is sent when the DataSource model's sync()
method is called.
core.post_sync
This signal is sent when a DataSource finishes synchronizing.