django-permanent-helpers
Django admin helper classes for django-permanent models.
Authored by Basil Shubin, inspired by django-taggit-helpers
Installation
First install the module, preferably in a virtual environment. It can be installed from PyPI:
pip install django-permanent-helpers
Setup
First make sure the project is configured for django-permanent.
Then add the following settings:
INSTALLED_APPS += (
'django_permanent_helpers',
)
Usage
PermanentModelAdmin
An abstract ModelAdmin which will include deleted objects in its listing and enable un-deleting feature.
from django_permanent_helpers.admin import PermanentModelAdmin
class MyModelAdmin(PermanentModelAdmin):
pass
PermanentModelListFilter
Filter records by their PERMANENT_FIELD value, use together with PermanentModelAdmin class.
from django_permanent_helpers.admin import PermanentModelAdmin, PermanentModelListFilter
class MyModelAdmin(PermanentModelAdmin):
list_filter = [PermanentModelListFilter]
Contributing
If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)
License
django-permanent-helpers is released under the MIT license.
Changes
2.1.0 (2026-10-10)
Dropped Python 3.10 support; Python 3.11 is now the minimum required version.
2.0.0 (2026-08-14)
Fixed a ValueError in PermanentModelListFilter.queryset() on Django 5+ (__isnull requires a strict bool).
Fixed log_restore() to use LogEntry.objects.log_actions() (log_action() is removed in Django 6.0).
Dropped Python 2.7/3.6–3.9 support; now requires Python 3.10–3.14.
Dropped Django <5.2 support; now requires Django 5.2–6.1.
1.0.1 (2021-11-29)
Updated ru translation.
1.0.0 (2021-11-29)
Added Django 3+ support.
Dropped Python 2.7 support.
Dropped Django 1.10 / 1.11 support.
Metadata
Release files for django-permanent-helpers 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_permanent_helpers-2.1.0.tar.gz | 9.0 kB | With provenance | Details for django_permanent_helpers-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_permanent_helpers-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for django_permanent_helpers-2.1.0-py3-none-any.whl |
Total release size: 16.9 kB
Release files / django_permanent_helpers-2.1.0.tar.gz
| Download URL | django_permanent_helpers-2.1.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e32aba8f70f98a8a4026602747f0d8457fe26a362485eb3f9699a4ba7fb4704
|
|
BLAKE2b-256 checksum How to use checksums |
96c407b040144da63993975d4257808f52724f16a5aea3ddb8f60b085c4cfc07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency logRelease files / django_permanent_helpers-2.1.0-py3-none-any.whl
| Download URL | django_permanent_helpers-2.1.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
461d49f9c72ddee4f51e5298fc5d6db4767efd7163e9fe5c25e3cd561e5d6b46
|
|
BLAKE2b-256 checksum How to use checksums |
4502e101e2f4da5d53b0faace7a3e1813a0a0a288a1dccd6e64429968ef69e4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency logSecurity for django-permanent-helpers 2.1.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for django_permanent_helpers-2.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency logA 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.