Utilities for de-duping Django model instances
raise_validation_exception
option to cascade validation errors when trying to merge related objects with uniqueness constraints. The default behavior was to delete the alias related object if it failed uniqueness validation, but now the option for the caller to handle validation errors is available.MergedModelInstance.create_with_audit_trail
to return a list of related objects that were modified when merging. This could be useful for building out un-merge functionality in the future.