[nonrel] supports_select_related database feature flag
|Reported by:||jonash||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||yes||Needs documentation:|
|Needs tests:||Patch needs improvement:|
(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.