#30311: Can't replace global admin actions with specialized ones per-admin
-------------------------------+--------------------------------------
     Reporter:  Aarni Koskela  |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  contrib.admin  |                  Version:  2.2
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by Aarni Koskela):

 * status:  closed => new
 * resolution:  invalid =>


Comment:

 Thanks! I did read the release notes, but the section linked has no
 mention of global admin actions and it doesn't exactly apply, see below.
 (Reopening for that reason.)

 This issue only arises when

 * a global action, say `expect_inquisition` (or the built-in default
 `delete_selected`) has been defined, which is implicitly on every single
 ModelAdmin
 * that global action is still enabled
 * and you attempt to explicitly add an action with the same `__name__` on
 any given ModelAdmin class

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30311#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.31b11aaa7bebfdb8f0698986b1d55bd4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to