I think deleted_selected is *special* since it's the only default action provided.
I guess we could document that a method name string reference should be passed to AdminSite.add_action if it's meant to be overridden. Simon Le mercredi 18 mars 2020 13:04:35 UTC-4, Carlton Gibson a écrit : > > OK, thanks both. Seems reasonable. Let me have a look at it in the > morning. > > One question is whether we handle this for just delete_selected or any > action which an AdminSite declares. > The example from #30311 was `expect_inquisition` (Nice) Do we want to > handle that too? 🤔 > > Cheers. > C. > > On Wednesday, 18 March 2020 17:53:29 UTC+1, Shai Berger wrote: >> >> (sorry about the previous empty mail, UI glitch) >> >> On Wed, 18 Mar 2020 09:29:17 -0700 (PDT) >> charettes <char...@gmail.com> wrote: >> >> > Just to make the above clear, here's what I had in mind >> > >> > https://gist.github.com/charettes/a0cb94242ac9c198625b23f4f55fab45 >> > >> >> Yes, that would do what I want and seems better than my suggestion. >> > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/4d0b3f80-a0a1-43af-a489-3aeed1df4ac8%40googlegroups.com.