#25396: ModelAdmin.get_queryset doesn't accept ValueQuerySet
-------------------------------+--------------------------------------
     Reporter:  dex4er         |                    Owner:  nobody
         Type:  New feature    |                   Status:  new
    Component:  contrib.admin  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by dex4er):

 Oh, it is probably the duplicate of this bug.

 Yes, this is for GROUP BY statement and not only for related model (it
 might be a simple field, too).

 Django Admin view might not be the best option for showing aggregated
 queryset, but as far as the fix is very simple, I think it might be
 supported. And other options are still worse: creating view in raw SQL,
 using dedicated view (with pagination, filters, actions, oh my... it would
 be a huge rewrite of admin stuff).

--
Ticket URL: <https://code.djangoproject.com/ticket/25396#comment:2>
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/064.04233f52e5a94a55daab5f449c1b1931%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to