Skip to main content

django admin helper classes for django-permanent models

Project description


Django admin helper classes for django-permanent models.

Authored by Basil Shubin, inspired by django-taggit-helpers


First install the module, preferably in a virtual environment. It can be installed from PyPI:

pip install django-permanent-helpers


First make sure the project is configured for django-permanent.

Then add the following settings:




An abstract ModelAdmin which will include deleted objects in its listing and enable un-deleting feature.

from django_permanent_helpers import PermanentModelAdmin
# For Django 1.9+, use this instead:
# from django_permanent_helpers.admin import PermanentModelAdmin

class MyModelAdmin(PermanentModelAdmin):


Filter records by their PERMANENT_FIELD value, use together with PermanentModelAdmin class.

from django_permanent_helpers import PermanentModelAdmin, PermanentModelListFilter
# For Django 1.9+, use this instead:
# from django_permanent_helpers.admin import PermanentModelAdmin, PermanentModelListFilter

class MyModelAdmin(PermanentModelAdmin):
    list_filter = [PermanentModelListFilter]


If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-permanent-helpers, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size django_permanent_helpers-0.0.5-py2.py3-none-any.whl (6.9 kB) File type Wheel Python version 3.7 Upload date Hashes View
Filename, size django-permanent-helpers-0.0.5.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page