minecraft_manager/signals/pre_delete.py

3 lines
83 B
Python
Raw Normal View History

def attachment_delete(sender, instance, **kwargs):
instance.file.delete(False)