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 admin_tool_button
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.4a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4d57ac3117a233532e72a7c9fb10ac64d187f5c27f251e166e1125a776b1bb9 |
|
MD5 | 9f8ebf9f2f41adb4c5c6534be9995d9a |
|
BLAKE2b-256 | c721c98d1524354059c276b70a7be0835cf223d117bc67047e6406dd0947ec24 |
Close
Hashes for admin_tool_button-1.0.4a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8766d99db647a2b46bb60463a9d3ec59832af842e8134763eb31250341decd68 |
|
MD5 | 4150297d2f96825302e88c35aee8ca05 |
|
BLAKE2b-256 | 653dd17475037edd010cd58e0b1ff5ca1eaaf4b0631746c1a1f52c2cfd46583e |