Skip to main content

Django mixin to easily add buttons to any ModelAdmin

Project description

django-admin-extra-buttons

Test coverage Lint Pypi 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

Project details


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.2.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_admin_extra_buttons-2.2-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_admin_extra_buttons-2.2.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for django_admin_extra_buttons-2.2.tar.gz
Algorithm Hash digest
SHA256 86f3d73a41ad6fd0d0025ef3c08119e2fa84da324c774b2de0645321bfc3a81d
MD5 613276093054cfdc3313a9565e493568
BLAKE2b-256 01bb73d1fc6845bb6048c08cce5e2f0f90b41fc39e914ad46ba93619bac2f0af

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_admin_extra_buttons-2.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_extra_buttons-2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44a56c4cf23169450d6cf3453f0e1905cc81cc8b90ef3652607587d4918da6e1
MD5 cf20d1e1c6a6c3a9d57afed164ce3eb7
BLAKE2b-256 fea34dcf78170aa91d6114ecc6a1b43684d239962b15df1dfb576de285afb430

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_admin_extra_buttons-2.2-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page