[Django] #24996: Reimplement the DatabaseFeatures.supports_select_related flag

5 views
Skip to first unread message

Django

unread,
Jun 17, 2015, 3:16:53 PM6/17/15
to django-...@googlegroups.com
#24996: Reimplement the DatabaseFeatures.supports_select_related flag
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: Database | Version: 1.8
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
In Django 1.8, the `supports_select_related` database feature flag was
refactored away in 0c7633178fa9410f102e4708cef979b873bccb76. If we add it
back, it would be nice to also add a test that mocks the value to `False`,
then checks that a `select_related()` call doesn't have any effect. The
original ticket is #17335.

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

Django

unread,
Jul 9, 2016, 9:28:09 AM7/9/16
to django-...@googlegroups.com
#24996: Reimplement the DatabaseFeatures.supports_select_related flag
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.8
(models, ORM) |
Severity: Normal | Resolution: wontfix

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* status: new => closed
* resolution: => wontfix


Comment:

I'm going to close this since no one has complained about it. If some
wants to do it, please reopen.

--
Ticket URL: <https://code.djangoproject.com/ticket/24996#comment:1>

Django

unread,
Jul 24, 2017, 1:46:13 PM7/24/17
to django-...@googlegroups.com
#24996: Reimplement the DatabaseFeatures.supports_select_related flag
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: nobody

Type: Bug | Status: closed
Component: Database layer | Version: 1.8
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"fe9f383357fb64eb18d259d296b377427ed44b54" fe9f3833]:
{{{
#!CommitTicketReference repository=""
revision="fe9f383357fb64eb18d259d296b377427ed44b54"
Refs #24996 -- Removed unused
BaseDatabaseFeatures.supports_select_related.

Unused since 0c7633178fa9410f102e4708cef979b873bccb76.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24996#comment:2>

Reply all
Reply to author
Forward
0 new messages