Skip to main content

django-simple-history-relation (Fork of django-simple-history) PyPI Version

Build Status Documentation Status Test Coverage Maintainability Code Style Downloads

django-simple-history stores Django model state on every create/update/delete.

What This Fork Adds

In addition to upstream django-simple-history 3.13.0, this fork provides:

  • Forward & Reverse ManyToMany Compatibility: Automatic or explicit M2M tracking, reverse manager snapshot attribution on the owning model, coalesced single-snapshot set() operations, pre-clear owner capture, custom through model tracking, deterministic owner row locking, and legacy relationship baseline markers (RelatedHistoricalRecords).

  • Change-Aware No-Op Suppression: Skip redundant historical snapshots when no tracked scalar, FK, or M2M fields changed, plus explicit forced snapshots (ChangeAwareHistoricalRecords, create_forced_history).

  • Bulk & QuerySet History Utilities: Atomic QuerySet.update() history capture (history_update), direct through-table reconciliation (sync_m2m_history), and enhanced bulk_create_with_history / bulk_update_with_history with actor, reason, and M2M support.

  • Sequential Versioning & Safe Comparisons: Optional per-object permanent history_version numbering (VersionedHistoricalRecords), grouped major/minor revisions, redacted field comparisons (comparison_changes, bulk_history_deltas), and RelatedHistoryAdmin with atomic form + M2M batching and version comparison UI.

See docs/m2m_and_bulk_history.rst for full usage documentation and explicit bulk/SQL limitations.

This app supports the following combinations of Django and Python:

Django

Python

5.2

3.10, 3.11, 3.12, 3.13, 3.14

6.0

3.12, 3.13, 3.14

6.1

3.12, 3.13, 3.14

main

3.12, 3.13, 3.14

Getting Help

Documentation is available at https://django-simple-history.readthedocs.io/en/stable/

Pull requests are welcome. Read the CONTRIBUTING file for tips on submitting a pull request.

License

This project is licensed under the BSD 3-Clause license.

Metadata

Release files for django-simple-history-relation 3.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-simple-history-relation 3.13.1
File Size Uploaded Provenance Actions
django_simple_history_relation-3.13.1.tar.gz 72.1 kB Without provenance Details for django_simple_history_relation-3.13.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-simple-history-relation 3.13.1
File Interpreter ABI Platform Actions
django_simple_history_relation-3.13.1-py3-none-any.whl Python 3 none any Details for django_simple_history_relation-3.13.1-py3-none-any.whl

Total release size: 172.0 kB

Release files / django_simple_history_relation-3.13.1.tar.gz

Download URL django_simple_history_relation-3.13.1.tar.gz
Size 72.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a231922cd3554744f64213fa5005f0e661949033dff2c2dc0329df6d1c883e82
BLAKE2b-256 checksum
How to use checksums
433c88dd9b8bbd1c046b89914ab99341b5a7fefa9397b899fadc469724055f60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7

Release files / django_simple_history_relation-3.13.1-py3-none-any.whl

Download URL django_simple_history_relation-3.13.1-py3-none-any.whl
Size 99.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1214b9da8b02768e016c4348a77b6549c118f2861052d8769efa89e9ac185b5
BLAKE2b-256 checksum
How to use checksums
5a7096a311bc0ae6d6e5b46be165edf1c3c1c535c2df1cc8bf3f01e80512c532
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7

Security for django-simple-history-relation 3.13.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.13.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page