Drop-in replacement for default Django history
Project description
django-extended-history
django-extended-history is (IMHO) the simplest way to record all changes made in admin-screens.
Requirements
Django >=4.2
Features
Drop-in extension for Django history. No changes in any model, hence no migrations.
Records all changes in JSON format, extending what Django stores by default.
Adds a view ‘Log entries’ under ‘Administration’, showing all content types for which a user has permissions.
Safe to remove. Django will ignore all extra recorded information and revert to it’s default history. So give it a spin!
Installation
pip install django-extended-history
Setup
Add django_extended_history to INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...,
'django_extended_history',
]
Done!
Usage
Apply the DjangoExtendedHistory mixin to all applicable admin-views:
from django.contrib import admin
from .models import MyModel
from django_extended_history.admin import DjangoExtendedHistory
@admin.register(MyModel)
class MyModelAdmin(DjangoExtendedHistory, admin.ModelAdmin):
...
Misc
Django extended history is released under the BSD-3 license, like Django. If you like it, please consider contributing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_extended_history-1.9.0.tar.gz.
File metadata
- Download URL: django_extended_history-1.9.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b939b27d9ad7f8e254ea0faa59e213c8a523963d812eb912acadbb94db902259
|
|
| MD5 |
3552531440048b0b47a74187817fe06a
|
|
| BLAKE2b-256 |
a801e8bb54e87f2bedcebaf7d34d7c5abc26283691586cbdc20685832d42212e
|
Provenance
The following attestation bundles were made for django_extended_history-1.9.0.tar.gz:
Publisher:
publish-pypi.yml on HealthyFridge/django-extended-history
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_extended_history-1.9.0.tar.gz -
Subject digest:
b939b27d9ad7f8e254ea0faa59e213c8a523963d812eb912acadbb94db902259 - Sigstore transparency entry: 155052024
- Sigstore integration time:
-
Permalink:
HealthyFridge/django-extended-history@bdd86335a79eb349f10cb785ca8a19817a77d125 -
Branch / Tag:
refs/tags/1.9.0 - Owner: https://github.com/HealthyFridge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@bdd86335a79eb349f10cb785ca8a19817a77d125 -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_extended_history-1.9.0-py3-none-any.whl.
File metadata
- Download URL: django_extended_history-1.9.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80acdd6e138cbb8dbc4d6cd8a5aa3ad8bc47ae8936f0407801019294b7aac68d
|
|
| MD5 |
815b0a10d74f26bb9a753b27515ff8ce
|
|
| BLAKE2b-256 |
7c312ca0521b1827ff8a1945cd641d0c16637cc583390ab571d08d7650c555e2
|
Provenance
The following attestation bundles were made for django_extended_history-1.9.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on HealthyFridge/django-extended-history
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_extended_history-1.9.0-py3-none-any.whl -
Subject digest:
80acdd6e138cbb8dbc4d6cd8a5aa3ad8bc47ae8936f0407801019294b7aac68d - Sigstore transparency entry: 155052026
- Sigstore integration time:
-
Permalink:
HealthyFridge/django-extended-history@bdd86335a79eb349f10cb785ca8a19817a77d125 -
Branch / Tag:
refs/tags/1.9.0 - Owner: https://github.com/HealthyFridge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@bdd86335a79eb349f10cb785ca8a19817a77d125 -
Trigger Event:
push
-
Statement type: