@receiver(post_delete)<EOL>def add_to_deleted_models(sender, instance=None, *args, **kwargs):
if issubclass(sender, SyncableModel):<EOL><INDENT>instance._update_deleted_models()<EOL><DEDENT>
Whenever a model is deleted, we record its ID in a separate model for tracking purposes. During serialization, we will mark
the model as deleted in the store.