django admin interface

46 views
Skip to first unread message

Sandeep Jalagam

unread,
Nov 16, 2016, 1:06:02 PM11/16/16
to Django users
 how can i add custom action button beside add button?  

Derek

unread,
Nov 18, 2016, 7:22:04 AM11/18/16
to Django users
Not a direct answer, but its much easier to use the in-built options to extend admin actions:
https://docs.djangoproject.com/en/1.10/ref/contrib/admin/actions/

Otherwise you will probably need to extend/override the admin template to add the code&link for your button; e.g. see:
http://stackoverflow.com/questions/6583877/how-to-override-and-extend-basic-django-admin-templates
(read all the answers as the approach has changed over time)
Reply all
Reply to author
Forward
0 new messages