Code

Opened 2 years ago

Closed 2 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 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by jonash

comment:1 Changed 2 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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.