20 lines
671 B
Python
20 lines
671 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
MAX_OTP_TRY = 3
|
|
DEVELOPMENT_PHONE_NUMBERS = ['+989999999999', '+989999999998']
|
|
|
|
class GenderChoices(models.TextChoices):
|
|
MALE = "m", _('male')
|
|
FEMALE = "f", _('female')
|
|
|
|
|
|
class EducationDegreeChoices(models.TextChoices):
|
|
PRIMARY_SCHOOL = 'primary', _('Primary school')
|
|
MIDDLE_SCHOOL = 'middle', _('Middle school')
|
|
HIGH_SCHOOL = 'high', _('High school')
|
|
ASSOCIATE_DEGREE = 'associate', _('Associate degree')
|
|
BACHELORS_DEGREE = 'bachelors', _('Bachelors degree')
|
|
MASTERS_DEGREE = 'masters', _('Masters degree')
|
|
DOCTORATE = 'doctorate', _('Doctorate')
|
|
|