mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
We have a few code paths that call get_realm_from_request multiple times on the same request (e.g. the login page), once inside the view function and once inside the common context processor code. This change saves a useless duplicate database query in those code paths.
7.3 KiB
7.3 KiB