🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

django-admin-extra-buttons

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-admin-extra-buttons

Django mixin to easily add buttons to any ModelAdmin

2.1.1
Maintainers
2

django-admin-extra-buttons

Pypi coverage Test Documentation Django Supported Python versions

my image

This is a full rewriting of the original django-admin-extra-url. It provides decorators to easily add custom buttons to Django Admin pages and/or add views to any ModelAdmin

It allows easy creation of wizards, actions and/or links to external resources as well as api only views.

Four decorators are available:

  • @button() to mark a method as extra view and show related button
  • @link() This is used for "external" link, where you don't need to invoke local views.
  • @view() View only decorator, this adds a new url but do not render any button.
  • @choice() Menu like button, can be used to group multiple @views().

FAQs

Did you know?

Socket

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