jumpserver/apps/settings/const.py
2024-08-30 14:55:22 +08:00

8 lines
160 B
Python

from django.db.models import TextChoices
class ImportStatus(TextChoices):
ok = 'ok', 'Ok'
pending = 'pending', 'Pending'
error = 'error', 'Error'