2026-09-07 19:43:48 +03:00

37 lines
1013 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""
Модуль уведомлений для Documents приложения.
Публичный API:
- NotificationVerbs - константы глаголов уведомлений
- MessageTemplates - шаблоны сообщений
- ActionURLs - генераторы URL-адресов
- notify_document_ready - функция для ручного уведомления о документе
Использование:
from documents.notifications import notify_document_ready
# В коде:
notify_document_ready(document, user)
"""
# Импортируем handlers и signals для регистрации
from . import (
handlers, # noqa: F401
signals, # noqa: F401
)
from .config import (
ActionURLs,
MessageTemplates,
NotificationVerbs,
get_uploader_name,
)
from .handlers import notify_document_ready
__all__ = [
"NotificationVerbs",
"MessageTemplates",
"ActionURLs",
"notify_document_ready",
"get_uploader_name",
]