#10057: ModelAdmin.render_change_form should not override the 'has_delete'
option
-------------------------------------+-------------------------------------
Reporter: rajeesh | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed
Keywords: ModelAdmin | Triage Stage: Accepted
render_change_form | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 1
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by Julien Phalip <jphalip@…>):
* status: reopened => closed
* resolution: => fixed
Comment:
In [01c392623d988d7486bdaa870886df0ea3da5fa7]:
{{{
#!CommitTicketReference repository=""
revision="01c392623d988d7486bdaa870886df0ea3da5fa7"
Fixed #10057 -- Ensured that the 'show_delete' context variable in the
admin's change view actually controls the display of the delete button.
Thanks to rajeesh for the report, to patcoll for the patch, and to David
Gouldin for the test.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/10057#comment:13>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.