Skip to main content

Django mixin to easily add buttons to any ModelAdmin

Project description

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().

Project Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_admin_extra_buttons-2.1.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

django_admin_extra_buttons-2.1.1-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file django_admin_extra_buttons-2.1.1.tar.gz.

File metadata

File hashes

Hashes for django_admin_extra_buttons-2.1.1.tar.gz
Algorithm Hash digest
SHA256 3c9e5cdcf05c7c8003748c07960a56bb77c46a85a9bef2714777a715397f3288
MD5 8d3d1ddfd81bb4633ce085a50b579b3f
BLAKE2b-256 265fed95a22ea69fdb661896f42bc2d3343685e5126c8206464004c674d5ac3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_admin_extra_buttons-2.1.1.tar.gz:

Publisher: release.yml on saxix/django-admin-extra-buttons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_admin_extra_buttons-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_extra_buttons-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ebd96d67c1992d8d81ed6816545a9035007e00dec64b58bbd73f3ac3999e7e6
MD5 d1a8be6bf0e9c278b82818a1dfe1b940
BLAKE2b-256 188fdb79e3fc78e5ac4972d760d43fedf99ad4bf7ed410031c6de0c72b237c41

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_admin_extra_buttons-2.1.1-py3-none-any.whl:

Publisher: release.yml on saxix/django-admin-extra-buttons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page