qmetrics.net

Django Simple History

Django model change history and admin revert

Django Simple History screenshot

Records Django model state on every create, update, and delete so you can query past versions and revert from the admin.

Overview

Django Simple History stores a snapshot of Django model state whenever records are created, updated, or deleted. It targets teams that need an audit trail of data changes inside Django applications without building custom versioning tables by hand.

After installation and migrations, each tracked model gains historical records you can query on the instance or model class, walk forward and backward in time, revert to an earlier state, and filter with helpers such as as_of. The admin integration lists history, can show diffs between revisions, supports pagination, and allows customizing columns and templates while optionally disabling revert.

The documentation covers user tracking on changes, historic foreign keys and one-to-one fields, many-to-many history, signals, diffing, multiple databases, bulk operations with history, excluded fields, custom history managers, and utilities to clean duplicate or old history rows.

It is a Django app you add to INSTALLED_APPS and wire to models; it does not replace Django itself but extends models and admin for compliance-style record keeping.

Key features

  • History on create, update, delete
  • Query and revert historical records
  • Django admin history integration
  • User tracking for changes
  • HistoricForeignKey and HistoricOneToOneField
  • Many-to-many relationship tracking
  • History diffing in admin
  • Multiple database support

Use cases

  • Audit trail for Django model edits
  • Reverting records from Django admin
  • Compliance logging of data changes
  • Inspecting prior field values over time

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT