Skip to main content

django-permanent-helpers

https://badge.fury.io/py/django-permanent-helpers.svg https://img.shields.io/pypi/pyversions/django-permanent-helpers.svg https://img.shields.io/pypi/djversions/django-permanent-helpers.svg https://github.com/bashu/django-permanent-helpers/actions/workflows/test.yml/badge.svg

Django admin helper classes for django-permanent models.

Authored by Basil Shubin (who is available for freelance/contract work), 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.1 (2026-11-13)

  • Switched build backend from setuptools to hatchling.

  • Moved package to src/ layout; tests moved to top-level tests/.

  • Ported tests to pytest-django fixtures.

  • Removed unused mypy, django-stubs and factory-boy dev dependencies.

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.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-permanent-helpers 2.1.1
File Size Uploaded Provenance Actions
django_permanent_helpers-2.1.1.tar.gz 8.3 kB With provenance Details for django_permanent_helpers-2.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-permanent-helpers 2.1.1
File Interpreter ABI Platform Actions
django_permanent_helpers-2.1.1-py3-none-any.whl Python 3 none any Details for django_permanent_helpers-2.1.1-py3-none-any.whl

Total release size: 16.2 kB

Release files / django_permanent_helpers-2.1.1.tar.gz

Download URL django_permanent_helpers-2.1.1.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
951877389fece6c58cb72a97972a5d915d83323d421196e65fb660d2561d1d35
BLAKE2b-256 checksum
How to use checksums
1882c7831ed17637147c7dd4ead087df3bbd43fcf0d5ad71af3ceafa760440a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

Release files / django_permanent_helpers-2.1.1-py3-none-any.whl

Download URL django_permanent_helpers-2.1.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f47a5e616c1012d322d66f46c1c733540e292795e35fdf1ff9209f925dabdb5
BLAKE2b-256 checksum
How to use checksums
3d88424c8805c6c4c35fcfb0bd8c1c12ff195e93b8a5878567a30e539df6b63b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

Security for django-permanent-helpers 2.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_permanent_helpers-2.1.1.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 Nov 12, 2026.

Transparency log

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.

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