#25776: Generic way in the admin to add tools to object-tools-items
-------------------------------+--------------------
     Reporter:  manelclos      |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Uncategorized  |    Version:  1.8
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  1
-------------------------------+--------------------
 If you have two different apps that affect the admin, say django-reversion
 and django-import-export, depending on the Mixins order in your ModelAdmin
 definition you will get the tool button for one or the other. As this
 works by extending the "admin/change_list.html" template and extending the
 "object-tools-items" block, only the last one processed gets into the
 final template.

 If this was a ModelAdmin method like get_object_tools_items_html(), then
 it would be chainable.

--
Ticket URL: <https://code.djangoproject.com/ticket/25776>
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/052.fb7d9ad347d5719100ef752ee6d52dfc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to