Extra tool buttons for Django admin
Project description
django-admin-tool-button
Custom tool buttons for Django admin
Rationale
Define extra actions buttons for Django admin.
Support
Supports: Python 3.9.
Supports Django Versions: 3.2.
Installation
$ pip install https://github.com/bboogaard/admin_tool_button/archive/refs/heads/main.zip
Usage
Add admin_tool_button
to INSTALLED_APPS
. In your admin.py
add your custom actions like so:
from admin_tool_button.contrib.admin import ButtonActionAdmin
class MyAdmin(ButtonActionAdmin):
button_actions = ['my_action']
def my_action(self, request):
# Perform your custom action
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for admin_tool_button-1.0.1a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6231992db0db3c46a30c3a5843347dcdd4544837fe181d1e4f27b4ab48ceb05a |
|
MD5 | 41822f727a8ec22d5ea2464f503f33f0 |
|
BLAKE2b-256 | 9f8ffe7a5fb14277ee341a4cbc51f91de3d831deb53612015a972be8805eb65f |
Close
Hashes for admin_tool_button-1.0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab6bb9232f78be691bfe7e0ac72d6fa21cb02069f5409ccfe27d5c5bea542862 |
|
MD5 | 94091fe604406de47f89d0f8d87ccd28 |
|
BLAKE2b-256 | 1afa3f03bcb30bb7eeb81e85c08782b0383b0778ea5d0aef1149d3a70ae94447 |