Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

django-admin-boost

PyPI version Python versions CI

Drop-in replacement for django.contrib.admin that works with Jinja2 (and DTL). Ships standalone performance mixins you can use with the stock Django admin too.

Features

  • Jinja2 admin templates — all 50 admin templates converted, with DTL fallback
  • Full drop-in replacement — swap django.contrib.admin for django_admin_boost.admin and everything just works
  • Standalone performance mixins — use ListOnlyFieldsMixin or EstimatedCountPaginator with stock Django admin, no full replacement needed
  • list_only_fields — automatic .only() on changelist querysets
  • Smart paginator — uses PostgreSQL's pg_class.reltuples for fast estimated counts on large tables

Quick Start

Full admin replacement (Jinja2)

# settings.py
INSTALLED_APPS = [
    "django_admin_boost.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    ...
]

TEMPLATES = [
    {
        "BACKEND": "django.template.backends.jinja2.Jinja2",
        "APP_DIRS": True,
        "OPTIONS": {
            "environment": "django_admin_boost.admin.jinja2_env.environment",
            "context_processors": [
                "django.template.context_processors.request",
                "django.contrib.auth.context_processors.auth",
                "django.contrib.messages.context_processors.messages",
            ],
        },
    },
    {
        "BACKEND": "django.template.backends.django.DjangoTemplates",
        "APP_DIRS": True,
        "OPTIONS": {
            "context_processors": [
                "django.template.context_processors.request",
                "django.contrib.auth.context_processors.auth",
                "django.contrib.messages.context_processors.messages",
            ],
        },
    },
]
# admin.py
import django_admin_boost.admin as admin

@admin.register(MyModel)
class MyModelAdmin(admin.ModelAdmin):
    list_display = ["name", "status", "created_at"]
    list_only_fields = ["id", "name", "status", "created_at"]

Just the performance mixins (with stock Django admin)

# settings.py
INSTALLED_APPS = ["django.contrib.admin", ...]
# admin.py
from django.contrib.admin import ModelAdmin
from django_admin_boost import ListOnlyFieldsMixin, EstimatedCountPaginator

class MyModelAdmin(ListOnlyFieldsMixin, ModelAdmin):
    list_only_fields = ["id", "name", "status"]
    paginator = EstimatedCountPaginator

Installation

pip install django-admin-boost

For Jinja2 support:

pip install django-admin-boost[jinja2]

Documentation

Full documentation at oliverhaas.github.io/django-admin-boost

License

MIT

Metadata

Release files for django-admin-boost 0.1.0a1

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-admin-boost 0.1.0a1
File Size Uploaded
django_admin_boost-0.1.0a1.tar.gz 475.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-boost 0.1.0a1
File Interpreter ABI Platform
django_admin_boost-0.1.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / django_admin_boost-0.1.0a1.tar.gz

Download URL django_admin_boost-0.1.0a1.tar.gz
Size 475.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1892b9620410f2ee3737516f1d962e22c12259b66d60bfb2c0e1754242941472
BLAKE2b-256 checksum
How to use checksums
d61b08aa7d3cbf4770d9498b88a8c866e7ed718ed6ec318cdead62a4bec90a43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Apr 5, 2026.

Transparency log

Release files / django_admin_boost-0.1.0a1-py3-none-any.whl

Download URL django_admin_boost-0.1.0a1-py3-none-any.whl
Size 593.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80722cf35e9e527e0b55a21b71664f8bfa85bd1f54c4a7968b4c8df4cd872446
BLAKE2b-256 checksum
How to use checksums
467915c46eeb103a17a0e8ca4f660660e63fb1ef56f2b6e7df8521fd8c135736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Apr 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0a1 This release

2 release files

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