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