#26229: Missing check for list_editable in admin
-------------------------------+--------------------
Reporter: alasdairnicol | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Arising from http://stackoverflow.com/questions/35456634/
If `list_display` and `list_editable` are both lists with a single item,
and `list_display_links` is not set, then the `list_editable` won't have
any effect, because the field will be displayed as a link rather than a
form field. We already have admin checks for usage of list_editable, but
this case does not appear to be covered.
{{{
class CustomAdmin(admin.ModelAdmin):
list_display = ('status', )
list_editable = ('status',)
}}}
#22792 is a related ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/26229>
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/056.5d01c821abe2a483e5e39ceb452d2765%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.