#12694: Adding an object-tool requires template code duplication
-------------------------------------+-------------------------------------
     Reporter:  andybak              |                    Owner:  DrMeers
         Type:  Uncategorized        |                   Status:  new
    Component:  contrib.admin        |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  admin, blocks,       |             Triage Stage:  Ready for
  template, object-tools,            |  checkin
  sprintdec2010                      |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by sassanh):

 * status:  closed => new
 * severity:   => Normal
 * resolution:  fixed =>
 * easy:   => 0
 * ui_ux:   => 0
 * type:   => Uncategorized


Comment:

 I think it's better to make it possible to add buttons to object-tool by
 python code (in inherited admin class) instead of overriding the html
 file, extending the default and adding the button. Something like
 `actions` field in admin class but for object-tool.

--
Ticket URL: <https://code.djangoproject.com/ticket/12694#comment:11>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.3418852368691ac64782a8bdb1fbbd31%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to