mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
This commit adds code to pass all the required arguments to select_related call for Subscription objects such that only the required related fields are fetched from the database. Previously, we did not pass any arguments to select_related, so all the directly and indirectly related fields were fetched when many of them were actually not being used and made the query unnecessarily complex.
82 KiB
82 KiB