schon/engine/vibes_auth/emailing/choices.py
2026-01-26 03:23:41 +03:00

18 lines
533 B
Python

from django.db.models import TextChoices
from django.utils.translation import gettext_lazy as _
class CampaignStatus(TextChoices):
DRAFT = "draft", _("Draft")
SCHEDULED = "scheduled", _("Scheduled")
SENDING = "sending", _("Sending")
SENT = "sent", _("Sent")
CANCELLED = "cancelled", _("Cancelled")
class RecipientStatus(TextChoices):
PENDING = "pending", _("Pending")
SENT = "sent", _("Sent")
FAILED = "failed", _("Failed")
OPENED = "opened", _("Opened")
CLICKED = "clicked", _("Clicked")