Opened 5 years ago

Closed 5 years ago

#17335 closed Uncategorized (fixed)

[nonrel] supports_select_related database feature flag

Reported by: Jonas H. Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Normal Keywords: nonrel
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

(This patch is part of the changes made to the inofficial fork "Django-nonrel" which adds basic support for non-relational databases.)

Introduce a supports_select_related database feature flag. If the backend in use doesn't support selecting related objects, .select_related(...) has no effect.

Attachments (1)

supports-select-related.patch (1.3 KB) - added by Jonas H. 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by Jonas H.

comment:1 Changed 5 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

In [17170]:

Fixed #17335 -- Added supports_select_related hook for django-nonrel. Thanks, jonash

Note: See TracTickets for help on using tickets.
Back to Top