Skip to main content
Run tests for django-grouped-admin-actions coveralls badge python: 3.8+ django: 2.2, 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0

Description

Improve the usability of your admin action dropdown by using option groups and the action’s docstrings as title tags.

Installation

Install from pypi.org:

pip install django-grouped-admin-actions

Usage

Use the GroupedAdminActionsMixin in your ModelAdmin classes:

from django.contrib import admin
from grouped_admin_actions.admin import GroupedAdminActionsMixin
from .models import YourModel

@admin.register(YourModel)
class YourModelAdmin(GroupedAdminActionsMixin, admin.ModelAdmin):
    actions = [
        'action_one',
        'action_two',
        'action_three',
        ...
    ]

Setup your admin actions with meaningful docstrings and use action groups as decorator:

from grouped_admin_actions.admin import action_group

group_one = ActionGroup("Action 1")
group_two = ActionGroup("Action 2")

@group_one
def action_one(modeladmin, request, queryset):
    """This is action one in group 1."""
    ...

@group_one
def action_two(modeladmin, request, queryset):
    """This is action two in group 1."""
    ...

@group_two
def action_three(modeladmin, request, queryset):
    """This is action three in group 2."""
    ...

Now you get a grouped action dropdown in your dango admin changelist views with the action’s docstring as title tag of each option.

Metadata

Release files for django-grouped-admin-actions 1.0

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-grouped-admin-actions 1.0
File Size Uploaded
django_grouped_admin_actions-1.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-grouped-admin-actions 1.0
File Interpreter ABI Platform
django_grouped_admin_actions-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / django_grouped_admin_actions-1.0.tar.gz

Download URL django_grouped_admin_actions-1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
577ec4c8a3c5ddb025bc7c4a2d32f0810ac4958d6684dc8325109eb1aa9f49bf
BLAKE2b-256 checksum
How to use checksums
bfd01002344f13b74c76efe2f1e2d68c5cce2d410499457e1546002fd0cbe16f
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 Jan 28, 2026.

Transparency log

Release files / django_grouped_admin_actions-1.0-py3-none-any.whl

Download URL django_grouped_admin_actions-1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd4cc9d803d291be4e1c69af050def9ef35e248f4d6bcb989cf1fdac2c161736
BLAKE2b-256 checksum
How to use checksums
3b8725931b49bae173448eaed4d34a75d85e8194e72efd803bf3e94e4e1eba25
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 Jan 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0 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