Opened 3 years ago

Last modified 7 months ago

#18914 assigned New feature

Object tools improvements

Reported by: mcrute Owned by: auvipy
Component: contrib.admin Version: master
Severity: Normal Keywords: admin object-tools
Cc: marc.tamlyn@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: no UI/UX: no


Adding object tools requires template overrides or subclassing of ModelAdmin. It should be possible to add object tools in the same way that admin actions can be defined.

Change History (3)

comment:1 Changed 3 years ago by mcrute

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

There is a patch for this with documentation on GitHub

comment:2 Changed 3 years ago by mjtamlyn

  • Cc marc.tamlyn@… added
  • Needs tests set
  • Patch needs improvement set
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Cleanup/optimization to New feature

I like the idea - I definitely think this is something the admin could do with making easier to customise (having hacked it a few times...)

It needs tests, as it currently has none. It'll probably need quite a lot - all of the individual functions will need testing. Does the test suite still work with the current changes? Docs wise it has some, but they if merged it would need to be added to the release notes as well.

Seems to me the view on site link should also be converted to be one of these new tool objects.

comment:3 Changed 7 months ago by auvipy

  • Owner changed from nobody to auvipy
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.
Back to Top