Opened 12 years ago

Closed 12 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: dev
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. 12 years ago.

Download all attachments as: .zip

Change History (2)

by Jonas H., 12 years ago

comment:1 by Adrian Holovaty, 12 years ago

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