Socket
Socket
Sign inDemoInstall

admin-tool-button

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

admin-tool-button

Extra tool buttons for Django admin

    1.0.7a0

Maintainers
1

Readme

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: 4.2.7.

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

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc