mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-28 11:25:42 +00:00
12 lines
364 B
Python
12 lines
364 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class ActionChoices(models.TextChoices):
|
|
reject = 'reject', _('Reject')
|
|
accept = 'accept', _('Accept')
|
|
review = 'review', _('Review')
|
|
warning = 'warning', _('Warn')
|
|
notice = 'notice', _('Notify')
|
|
notify_and_warn = 'notify_and_warn', _('Notify and warn')
|