#20558: Add `response_delete` and `render_delete_form` methods to  `ModelAdmin`
-------------------------------+------------------------------------
     Reporter:  anonymous      |                    Owner:  nobody
         Type:  New feature    |                   Status:  new
    Component:  contrib.admin  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  1
  Needs tests:  1              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+------------------------------------
Changes (by charettes):

 * needs_better_patch:   => 0
 * needs_tests:   => 1
 * version:  1.5 => master
 * easy:  0 => 1
 * needs_docs:   => 1
 * stage:  Unreviewed => Accepted


Comment:

 This feature addition makes sense -- I've hit this limitation
 [https://github.com/charettes/django-admin-
 enhancer/blob/master/admin_enhancer/admin.py#L39-L46 in the past].

 I will mark as easy picking since it's really just code moving, simple
 tests and documentation writing.

 Also, it might be worth adding a `render_delete_form` method while we're
 here, to be consistent with `add_view`
 (`response_add`/`render_change_form(add=True)`) and `change_view`
 (`response_change`, `render_change_form(add=False)`).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20558#comment:1>
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/067.41a1f56e4effff251577f67ac3e41f04%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to