#26524: Change foreign key id list_display reference to display only the id
-------------------------------------+-------------------------------------
Reporter: cristianocca | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: contrib.admin | Version: master
Severity: Release blocker | Resolution: fixed
Keywords: admin list_display | Triage Stage: Accepted
changelist |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* has_patch: 1 => 0
* version: 1.9 => master
* severity: Normal => Release blocker
Comment:
This caused a regression in using a `ManyToManyField` in
`ModelAdmin.readonly_fields`. I'm attaching a regression test that passes
on the stable/1.10.x branch. The `{% include %}` in the admin template
started silently failing in the commit for this ticket and then in
331ca5391eb64cbac3a001209257beb93522d587, that silent failure become an
exception because of the deprecation warning. Fixing this will also fix
the two selenium test failures that use the `Pizza` admin.
--
Ticket URL: <https://code.djangoproject.com/ticket/26524#comment:15>
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/070.4ca6e9d298a2780b8cbffef577fbe938%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.