Files
backend/core/apps/accounts/choices/user.py
A'zamov Samandar 256e80cc23 first commit
2025-11-21 14:41:16 +05:00

13 lines
267 B
Python

from django.db import models
from django.utils.translation import gettext_lazy as _
class RoleChoice(models.TextChoices):
"""
User Role Choice
"""
SUPERUSER = "superuser", _("Superuser")
ADMIN = "admin", _("Admin")
USER = "user", _("User")