code: def add_to_deleted_models(sender, instance=None, *args, **kwargs):
      
      if issubclass(sender, SyncableModel):
          instance._update_deleted_models()
docs: 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.