mirror of
https://github.com/lemeow125/InfoTech-Backend.git
synced 2024-11-17 06:29:26 +08:00
Polished choice fields for students
This commit is contained in:
parent
cdd4db9b6a
commit
23a4a4a190
1 changed files with 5 additions and 5 deletions
|
@ -5,14 +5,14 @@ from django.db import models
|
|||
class Student(models.Model):
|
||||
|
||||
class YearLevels(models.TextChoices):
|
||||
FIRST_YEAR = 'IU-Y1', '1st Year'
|
||||
SECOND_YEAR = 'IU-Y2', '2nd Year'
|
||||
THIRD_YEAR = 'IU-Y3', '3rd Year'
|
||||
FIRST_YEAR = '1st Year'
|
||||
SECOND_YEAR = '2nd Year'
|
||||
THIRD_YEAR = '3rd Year'
|
||||
FOURTH_YEAR = 'IU-Y4', '4th Year'
|
||||
|
||||
class Semesters(models.TextChoices):
|
||||
FIRST_SEM = 'Sem-1', '1st Semester'
|
||||
SECOND_SEM = 'Sem-2', '2nd Semester'
|
||||
FIRST_SEM = '1st Semester'
|
||||
SECOND_SEM = '2nd Semester'
|
||||
|
||||
class SexChoices(models.TextChoices):
|
||||
MALE = 'M', 'Male'
|
||||
|
|
Loading…
Reference in a new issue