code: def deserialize_instance(serialized_instance):
      
      model_name, pk = serialized_instance.split(':')
      model = apps.get_model(model_name)
      return model._default_manager.get(pk=pk)
docs: Deserialize Django model instance