71 lines
2.0 KiB
Python
71 lines
2.0 KiB
Python
# Generated by Django 4.2.16 on 2024-10-04 22:51
|
|
|
|
from decimal import Decimal
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("result", "0001_initial"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="result",
|
|
name="level",
|
|
field=models.CharField(
|
|
choices=[("Bachelor", "Bachelor Degree"), ("Master", "Master Degree")],
|
|
max_length=25,
|
|
null=True,
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="takencourse",
|
|
name="comment",
|
|
field=models.CharField(
|
|
blank=True,
|
|
choices=[("PASS", "PASS"), ("FAIL", "FAIL")],
|
|
editable=False,
|
|
max_length=200,
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="takencourse",
|
|
name="grade",
|
|
field=models.CharField(
|
|
blank=True,
|
|
choices=[
|
|
("A+", "A+"),
|
|
("A", "A"),
|
|
("A-", "A-"),
|
|
("B+", "B+"),
|
|
("B", "B"),
|
|
("B-", "B-"),
|
|
("C+", "C+"),
|
|
("C", "C"),
|
|
("C-", "C-"),
|
|
("D", "D"),
|
|
("F", "F"),
|
|
("NG", "NG"),
|
|
],
|
|
editable=False,
|
|
max_length=2,
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="takencourse",
|
|
name="point",
|
|
field=models.DecimalField(
|
|
decimal_places=2, default=Decimal("0.00"), editable=False, max_digits=5
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="takencourse",
|
|
name="total",
|
|
field=models.DecimalField(
|
|
decimal_places=2, default=Decimal("0.00"), editable=False, max_digits=5
|
|
),
|
|
),
|
|
]
|