zulip/zerver/views/development
Sahil Batra 3ae0b4f913 dev_login: Pass realm as arg to select_related calls.
This commit updates the select_related calls in queries to
get UserProfile objects in dev_login code to pass "realm"
as argument to select_related call.

Also, note that "realm" is the only non-null foreign key field
in UserProfile object, so select_related() was only fetching
realm object previously as well. But we should still pass "realm"
as argument in select_related call so that we can make sure that
only required fields are selected in case we add more foreign
keys to UserProfile in future.
2023-07-20 10:44:39 -07:00
..
__init__.py
cache.py coverage: Clean up coverage configuration. 2023-05-31 13:53:04 -07:00
camo.py coverage: Clean up coverage configuration. 2023-05-31 13:53:04 -07:00
dev_login.py dev_login: Pass realm as arg to select_related calls. 2023-07-20 10:44:39 -07:00
email_log.py welcome-emails: Separate followup_day1 email from other welcome emails. 2023-07-11 14:15:52 -07:00
integrations.py requirements: Upgrade Python requirements. 2023-07-19 16:14:59 -07:00
registration.py coverage: Clean up coverage configuration. 2023-05-31 13:53:04 -07:00