# 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**: - `signal (str)`: name of the signal to register to - `senders (Union[Type["Model"], List[Type["Model"]]])`: one or a list of "Model" classes that should have the signal receiver registered **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**: - `senders (Union[Type["Model"], List[Type["Model"]]])`: one or a list of "Model" classes that should have the signal receiver registered **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**: - `senders (Union[Type["Model"], List[Type["Model"]]])`: one or a list of "Model" classes that should have the signal receiver registered **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**: - `senders (Union[Type["Model"], List[Type["Model"]]])`: one or a list of "Model" classes that should have the signal receiver registered **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**: - `senders (Union[Type["Model"], List[Type["Model"]]])`: one or a list of "Model" classes that should have the signal receiver registered **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**: - `senders (Union[Type["Model"], List[Type["Model"]]])`: one or a list of "Model" classes that should have the signal receiver registered **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**: - `senders (Union[Type["Model"], List[Type["Model"]]])`: one or a list of "Model" classes that should have the signal receiver registered **Returns**: `(Callable)`: returns the original function untouched