What I want is to put a custom button in each row of a page of the admin listing.
These buttons will have a function associate to it acting over that line.
I've already knew the "admin actions", but it's not what I want, ok?
Thank you!
What I want is to put a custom button in each row of a page of the admin listing.
These buttons will have a function associate to it acting over that line.
I've already knew the "admin actions", but it's not what I want, ok?
Thank you!
You can declare in your ModelAdmin a function to generate the html for your button, e.g.
And then put it in your in your
list_display
-tuple.http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-options