mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
models: Extract zerver.models.constants.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Alex Vandiver
parent
f78d8e13c1
commit
c1c9db59cd
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user