mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
The Realm.DoesNotExist exception will never be raised if we pass a string_id as in that case zerver.models.get_realm function would be used for fetching. realm.zerver.models.get_realm uses filter query so the exception will not be raised even if there are no realm which matches the query. Tests added by tabbott.
2.7 KiB
2.7 KiB