#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):
I tried to override Admin's internals so it is possible to use it with
official Django 1.8.4 (with or without Django Suit template). The result
is https://gist.github.com/dex4er/c658c38c3a12df7b92fc
As you can see there is a lot of duplicated code: 2 meaning lines of code
and 153 lines of copy-and-paste :(
--
Ticket URL: <https://code.djangoproject.com/ticket/25396#comment:3>
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.e2d159ab2bc1f1600ab9c4d71b8404bf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.