<filename>net/enums.py
from django.db import models


class ConnectionState(models.TextChoices):
    ENABLED = "enabled", "Enabled"
    DISABLED = "disabled", "Disabled"

<filename>net/enums.py
from django.db import models


class ConnectionState(models.TextChoices):
    ENABLED = "enabled", "Enabled"
    DISABLED = "disabled", "Disabled"
