models: Extract zerver.models.streams.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-12-14 18:57:04 -08:00
committed by Tim Abbott
parent 5391ec99d9
commit 4aa2d76bea
60 changed files with 474 additions and 483 deletions

View File

@@ -30,12 +30,14 @@ from zerver.models import (
Subscription,
UserGroup,
UserProfile,
)
from zerver.models.groups import SystemGroups
from zerver.models.streams import (
bulk_get_streams,
get_realm_stream,
get_stream,
get_stream_by_id_in_realm,
)
from zerver.models.groups import SystemGroups
from zerver.models.users import active_non_guest_user_ids, active_user_ids, is_cross_realm_bot_email
from zerver.tornado.django_api import send_event