core.signals.delete_Attachment module

Save signal receivers for the core.models.Attachment model.

core.signals.delete_Attachment.post_delete_attachment(sender, instance, **kwargs)[source]

Receiver function deleting the file of the attachment from storage.

Parameters:
  • sender (Attachment) – The class type that sent the post_save signal.

  • instance (Attachment) – The instance that has been saved.

  • **kwargs (Any) – Other keyword arguments.

Return type:

None