django-admin-action-hero
django-admin-action-hero is a library designed to make it easier to create custom
repetitive admin actions for Django's admin interface. It provides a simple way
to create classes that encapsulate admin actions, allowing for better code reuse
and organization.
Installation
To install django-admin-action-hero, you'll use pip install django-admin-action-hero
or add django-admin-action-hero to your pyproject.toml or requirements.txt.
You don't need to add anything to your INSTALLED_APPS.
Quick example
An example of how to use django-admin-action-hero to create a simple admin action:
from django.contrib import admin
from action_hero.actions import SimpleAction
def my_admin_function(item_pk):
# Your admin action logic here
pass
class MyAdmin(admin.ModelAdmin):
actions = [
SimpleAction(
my_admin_function,
name="my_custom_action",
),
]
Your MyAdmin class now has a custom admin action called "my_custom_action"
that executes my_admin_function for each selected item. You can select the
items in the Django admin interface and run the action from the actions
dropdown.
Metadata
Release files for django-admin-action-hero 0.1.1
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_admin_action_hero-0.1.1.tar.gz | 68.3 kB | With provenance | Details for django_admin_action_hero-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_admin_action_hero-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for django_admin_action_hero-0.1.1-py3-none-any.whl |
Total release size: 83.0 kB
Release files / django_admin_action_hero-0.1.1.tar.gz
| Download URL | django_admin_action_hero-0.1.1.tar.gz |
|---|---|
| Size | 68.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cf91180179f82ec710339f59cd965822c1a6782a3c1ac5bbb3cb0867ba7028b
|
|
BLAKE2b-256 checksum How to use checksums |
4655bf6d4589921d5d07f35a8bf05b550920e1836f9b02b81534e0aa2cbc68de
|
| 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 Dec 23, 2025.
Transparency logRelease files / django_admin_action_hero-0.1.1-py3-none-any.whl
| Download URL | django_admin_action_hero-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b07c2aa90c6824a0bbae54e66808eabdcc9bec266fded85f44c50accf16ef85a
|
|
BLAKE2b-256 checksum How to use checksums |
eaa620f13787614234aa160bb2d5162b1ee6c7ffa17570c89d5bffaaed5d20c3
|
| 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 Dec 23, 2025.
Transparency logSecurity for django-admin-action-hero 0.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.
Attestation for django_admin_action_hero-0.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 Dec 23, 2025.
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.