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 Alex Vandiver
parent f78d8e13c1
commit c1c9db59cd
8 changed files with 10 additions and 9 deletions

View File

@@ -6,7 +6,8 @@ from zerver.lib.response import json_success
from zerver.lib.typed_endpoint import JsonBodyPayload, typed_endpoint
from zerver.lib.validator import WildValue, check_string
from zerver.lib.webhooks.common import check_send_webhook_message
from zerver.models import MAX_TOPIC_NAME_LENGTH, UserProfile
from zerver.models import UserProfile
from zerver.models.constants import MAX_TOPIC_NAME_LENGTH
MESSAGE_TEMPLATE = """
Splunk alert from saved search: