models: Extract zerver.models.constants.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-12-05 10:32:36 -08:00
committed by Tim Abbott
parent e601d0ae7c
commit 37a9c4501f
8 changed files with 10 additions and 9 deletions

View File

@@ -68,7 +68,6 @@ from zerver.lib.users import (
max_message_id_for_user,
)
from zerver.models import (
MAX_TOPIC_NAME_LENGTH,
Client,
CustomProfileField,
Draft,
@@ -87,6 +86,7 @@ from zerver.models import (
get_realm_playgrounds,
linkifiers_for_realm,
)
from zerver.models.constants import MAX_TOPIC_NAME_LENGTH
from zerver.tornado.django_api import get_user_events, request_event_queue
from zproject.backends import email_auth_enabled, password_auth_enabled