Django Aware

Admin Revisions

Custom Actions In Django Admin Object Editor

Tuesday, October 7th, 2008

I’ve seen many posts asking for the simplest feature in Django admin… the ability to add custom actions next to History and View On Site in the Django admin form. The page where the actual object is edited, not the list pages. Imagine adding actions like:

Edit Next Item
Edit Previous Item
Send Thank You Email
Export [...]

Adding Custom Actions To Django Admin Change Forms

Wednesday, November 7th, 2007

I recently had a problem where I needed to add a custom action next to "History" and "View on site" in the Django admin change form for a specific model. Normally I would overload the admin template. Problem is I wanted to retain "History" and "View". The approach I took was to [...]