Opened 3 years ago

Closed 3 years ago

#17335 closed Uncategorized (fixed)

[nonrel] supports_select_related database feature flag

Reported by: jonash Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Normal Keywords: nonrel
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
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 jonash 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by jonash

comment:1 Changed 3 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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