https://github.com/saxix/django-admin-extra-buttons
https://github.com/saxix/django-admin-extra-buttons
django python
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/saxix/django-admin-extra-buttons
- Owner: saxix
- License: other
- Created: 2022-02-18T10:16:19.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2025-03-03T15:40:36.000Z (about 1 month ago)
- Last Synced: 2025-04-01T10:12:44.197Z (13 days ago)
- Topics: django, python
- Language: Python
- Homepage: https://saxix.github.io/django-admin-extra-buttons/
- Size: 1.01 MB
- Stars: 147
- Watchers: 5
- Forks: 11
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- Contributing: docs/contributing.md
- License: LICENSE
Awesome Lists containing this project
- stars - saxix/django-admin-extra-buttons - (Python)
- stars - saxix/django-admin-extra-buttons - (Python)
README
django-admin-extra-buttons
==========================[](https://badge.fury.io/py/django-admin-extra-buttons)
[](https://codecov.io/github/saxix/django-admin-extra-buttons?branch=develop)
[](https://github.com/saxix/django-admin-extra-buttons/actions/workflows/test.yml)
[](https://saxix.github.io/django-admin-extra-buttons/)
[](https://pypi.org/project/django-admin-extra-buttons/)
[](https://pypi.org/project/django-admin-extra-buttons/)
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 ModelAdminIt 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
- Code: https://github.com/saxix/django-admin-extra-buttons
- Documentation: https://saxix.github.io/django-admin-extra-buttons/
- Issue Tracker: https://github.com/saxix/django-admin-extra-buttons/issues
- Download Package: https://pypi.org/project/django-admin-extra-buttons/