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.2a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d31fa67d48063296f24bfc1e15776348fd993a78a6a6ba6526e92e4e8526e1b |
|
MD5 | 1f2f8e7c45e5f298f6484b9b0f6b5781 |
|
BLAKE2b-256 | 31fe0642e729710493a5532fb0018db4788c44b95045423f229e57d488061810 |
Close
Hashes for admin_tool_button-1.0.2a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a176c3d3c88eaa64737c53f44f5a8d0569cf99e506e7f3c50cd3ad7136d113c8 |
|
MD5 | 2c8bedc13ae2dc1abdc41ee874352457 |
|
BLAKE2b-256 | 1fd59f0558900a997dacfea70d3874dfb7048603d5489c50495650a5d5d9a1bc |