52 lines
1.4 KiB
Python
52 lines
1.4 KiB
Python
from notify.models.choices import (
|
|
DeliveryChannel,
|
|
DeliveryStatus,
|
|
NotificationLevel,
|
|
validate_delivery_channels,
|
|
)
|
|
from notify.models.code import VerificationCode
|
|
from notify.models.delivery import (
|
|
DeliveryConfig,
|
|
DeliveryEmailConfig,
|
|
DeliveryTokenConfig,
|
|
)
|
|
from notify.models.group import NotificationGroup
|
|
from notify.models.managers import NotificationGroupManager, NotificationTypeManager
|
|
from notify.models.notification import (
|
|
Notification,
|
|
NotificationAttachment,
|
|
NotificationRecipient,
|
|
default_expires_at,
|
|
)
|
|
from notify.models.notification_type import (
|
|
NotificationChannelPreference,
|
|
NotificationType,
|
|
NotificationTypeRecipientGroup,
|
|
)
|
|
from notify.models.template import NotificationTemplate
|
|
|
|
default_expires_at.__module__ = "notify.models"
|
|
validate_delivery_channels.__module__ = "notify.models"
|
|
|
|
__all__ = [
|
|
"DeliveryChannel",
|
|
"DeliveryStatus",
|
|
"NotificationLevel",
|
|
"default_expires_at",
|
|
"validate_delivery_channels",
|
|
"NotificationGroupManager",
|
|
"NotificationTypeManager",
|
|
"NotificationGroup",
|
|
"NotificationType",
|
|
"DeliveryConfig",
|
|
"DeliveryEmailConfig",
|
|
"DeliveryTokenConfig",
|
|
"NotificationTemplate",
|
|
"NotificationChannelPreference",
|
|
"NotificationTypeRecipientGroup",
|
|
"Notification",
|
|
"NotificationAttachment",
|
|
"NotificationRecipient",
|
|
"VerificationCode",
|
|
]
|