#28107: Can't perform annotation on related table when un-managed model is
backed
by a DB view
-------------------------------------+-------------------------------------
Reporter: powderflask | Owner: Vojtěch
| Boček
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: QuerySet.extra | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"b1d37fea8fd7904c2b2d11c91393cf1b989314b6" b1d37fe]:
{{{
#!CommitTicketReference repository=""
revision="b1d37fea8fd7904c2b2d11c91393cf1b989314b6"
Fixed #28107 -- Added
DatabaseFeatures.allows_group_by_selected_pks_on_model() to allow enabling
optimization for unmanaged models.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28107#comment:30>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.57a8ae4f8e011af64094b06625f9c7e7%40djangoproject.com.