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

@@ -47,7 +47,6 @@ from zerver.lib.test_helpers import (
)
from zerver.lib.timestamp import datetime_to_timestamp
from zerver.models import (
MAX_TOPIC_NAME_LENGTH,
Message,
Realm,
RealmDomain,
@@ -64,6 +63,7 @@ from zerver.models import (
get_system_bot,
get_user,
)
from zerver.models.constants import MAX_TOPIC_NAME_LENGTH
from zerver.views.message_send import InvalidMirrorInputError