Re: [Django] #14336: list_display should be able to contain sortable references to annotated fields (was: list_display should be able to contain sortable references to extra and/or annotated fields)

2 views
Skip to first unread message

Django

unread,
Sep 21, 2016, 2:19:49 PM9/21/16
to django-...@googlegroups.com
#14336: list_display should be able to contain sortable references to annotated
fields
--------------------------------+--------------------------------------
Reporter: Paul McLanahan | Owner: Jon Culver
Type: New feature | Status: assigned
Component: contrib.admin | Version: 1.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------

Comment (by Tim Graham):

I'm removing consideration of "extra" fields from the summary because
`QuerySet.extra()` is now discouraged and likely to be deprecated in the
future.

#27229 is a related ticket that suggests allowing aggregations in
`list_display`. I hope to figure out a suitable path forward for this on
the [https://groups.google.com/d/topic/django-
developers/T1-80RV8b5g/discussion django-developers mailing list] thread.
Jon, sorry you didn't get any feedback from your original work. Feel free
to chime in here if you still have time and interest in working on this.

--
Ticket URL: <https://code.djangoproject.com/ticket/14336#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages