Django-super-deduper

Latest version: v0.1.4

Safety actively analyzes 619516 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.4

Features
- Add support for merging generic relations (https://github.com/mighty-justice/django-super-deduper/issues/5).

0.1.3

Features
- Add `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.

0.1.2

Fixes
- Fix https://github.com/mighty-justice/django-super-deduper/pull/13 Deleted objects did not preserve their PKs when added to the audit trail.

0.1.1

Fixes
- Fix https://github.com/mighty-justice/django-super-deduper/pull/12 Unmanaged models show up as valid merge-able fields.

0.1.0

Features
- Add `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.

Fixes
- Fix https://github.com/mighty-justice/django-super-deduper/pull/8 Merging an object into itself could cause that object to be deleted.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.