mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
364 B
11 lines
364 B
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')
|
|
|