first commit
This commit is contained in:
9
core/apps/accounts/choices.py
Normal file
9
core/apps/accounts/choices.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.db import models
|
||||
class RoleChoice(models.TextChoices):
|
||||
"""
|
||||
User Role Choice
|
||||
"""
|
||||
SUPERUSER = "superuser", "Superuser"
|
||||
BUSINESSMAN = "businessman", "Businessman"
|
||||
MANAGER = "manager", "Manager"
|
||||
EMPLOYEE = "employee", "Employee"
|
||||
Reference in New Issue
Block a user