# decorators.signals #### receiver ```python receiver(signal: str, senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for given signal name. **Arguments**: that should have the signal receiver registered - `signal` (`str`): name of the signal to register to - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### post\_save ```python post_save(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for post_save signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### post\_update ```python post_update(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for post_update signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### post\_delete ```python post_delete(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for post_delete signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### pre\_save ```python pre_save(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for pre_save signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### pre\_update ```python pre_update(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for pre_update signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### pre\_delete ```python pre_delete(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for pre_delete signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### pre\_relation\_add ```python pre_relation_add(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for pre_relation_add signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### post\_relation\_add ```python post_relation_add(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for post_relation_add signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### pre\_relation\_remove ```python pre_relation_remove(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for pre_relation_remove signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched #### post\_relation\_remove ```python post_relation_remove(senders: Union[Type["Model"], List[Type["Model"]]]) -> Callable ``` Connect given function to all senders for post_relation_remove signal. **Arguments**: that should have the signal receiver registered - `senders` (`Union[Type["Model"], List[Type["Model"]]]`): one or a list of "Model" classes **Returns**: `Callable`: returns the original function untouched