mirror of
https://github.com/lemeow125/InfoTech-Backend.git
synced 2025-05-17 03:48:08 +08:00
Polish current semester choices on both student and subject
This commit is contained in:
parent
249e4e920e
commit
bb939198e5
6 changed files with 51 additions and 2 deletions
18
infotech/subjects/migrations/0003_subject_semester.py
Normal file
18
infotech/subjects/migrations/0003_subject_semester.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.1.7 on 2023-03-21 13:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('subjects', '0002_alter_subject_year_level'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='subject',
|
||||
name='semester',
|
||||
field=models.CharField(choices=[('Sem-1', '1st Semester'), ('Sem-2', '2nd Semester')], default='Sem-1', max_length=20),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue