citusdata / django-multitenant

Python/Django support for distributed multi-tenant databases like Postgres+Citus
MIT License
721 stars 119 forks source link

Is there any fundamental reason why select_related is not supported #26

Closed divick closed 5 years ago

divick commented 5 years ago

Is it because it is too hard to do with django-multitenant or is it because it is not possible at all? Without select_related how would one optimise the queries?

saicitus commented 5 years ago

Hey @divick select_related works in the latest version with the introduction of TenantForeignKey. Just updated the README.